public static Version? GetWindowsVersion()Public Shared Function GetWindowsVersion As Versionpublic:
static Version^ GetWindowsVersion()static member GetWindowsVersion : unit -> Version This method works correctly on every platform target, regardless of the presence of an application manifest.