Пример #1
0
 private static extern bool GetVersionEx([In, Out] OSVersionInfo osvi);
Пример #2
0
 public OSVersionInfo()
 {
     this.OSVersionInfoSize = (uint)Marshal.SizeOf(this);
     OSVersionInfo.GetVersionEx(this);
 }