srand

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

Microsoft documentation: Link

Last updated