dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnetlib/runtime/Platform InfoMethods.cs,1.1,1


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/runtime/Platform InfoMethods.cs,1.1,1.2
Date: Fri, 20 Jun 2003 22:55:17 -0400

Update of /cvsroot/dotgnu-pnet/pnetlib/runtime/Platform
In directory subversions:/tmp/cvs-serv20630/runtime/Platform

Modified Files:
        InfoMethods.cs 
Log Message:


Add the "InfoMethods.GetPlatformID" internalcall to better detect
Win32 vs Unix platform differences.


Index: InfoMethods.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/Platform/InfoMethods.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** InfoMethods.cs      28 Nov 2002 22:55:23 -0000      1.1
--- InfoMethods.cs      21 Jun 2003 02:55:15 -0000      1.2
***************
*** 57,63 ****
  #if !ECMA_COMPAT
  
!       // Get the OS version that we are running on.  Returns NULL if unknown.
        [MethodImpl(MethodImplOptions.InternalCall)]
!       extern public static OperatingSystem GetOSVersion();
  
        // Get a special folder directory.  Returns NULL if unknown.
--- 57,63 ----
  #if !ECMA_COMPAT
  
!       // Get the platform identifier for the OS that we are running on.
        [MethodImpl(MethodImplOptions.InternalCall)]
!       extern public static PlatformID GetPlatformID();
  
        // Get a special folder directory.  Returns NULL if unknown.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]