System.Runtime.InteropServices.RuntimeEnvironment.GetSystemVersion C# (CSharp) Method

GetSystemVersion() public static method

public static GetSystemVersion ( ) : string
return string
        public static string GetSystemVersion()
        {
            return typeof(object).Assembly.ImageRuntimeVersion;
        }
    }

Usage Example

コード例 #1
0
 public void RuntimeEnvironmentSysVersion()
 {
     Assert.NotEmpty(RuntimeEnvironment.GetSystemVersion());
 }
All Usage Examples Of System.Runtime.InteropServices.RuntimeEnvironment::GetSystemVersion