# srand

```csharp
[DllImport("msvcrt.dll", CallingConvention = CallingConvention.Cdecl, SetLastError = true)]
public static extern void srand(
   uint seed
);
```

Microsoft documentation: [Link](https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/srand)
