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/System/Security/Principal Wi


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Security/Principal WindowsIdentity.cs,1.2,1.3
Date: Mon, 26 May 2003 00:41:24 -0400

Update of /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Security/Principal
In directory subversions:/tmp/cvs-serv26070/runtime/System/Security/Principal

Modified Files:
        WindowsIdentity.cs 
Log Message:


Add the CONFIG_SERIALIZATION option to the profiles.


Index: WindowsIdentity.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Security/Principal/WindowsIdentity.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** WindowsIdentity.cs  25 Apr 2003 03:53:07 -0000      1.2
--- WindowsIdentity.cs  26 May 2003 04:41:22 -0000      1.3
***************
*** 32,36 ****
  [Serializable]
  public class WindowsIdentity
!       : IIdentity, ISerializable, IDeserializationCallback
  {
        // Internal state.
--- 32,39 ----
  [Serializable]
  public class WindowsIdentity
!       : IIdentity
! #if CONFIG_SERIALIZATION
!       , ISerializable, IDeserializationCallback
! #endif
  {
        // Internal state.
***************
*** 93,96 ****
--- 96,100 ----
                                this.isAuthenticated = false;
                        }
+ #if CONFIG_SERIALIZATION
        [TODO]
        public WindowsIdentity(SerializationInfo info, StreamingContext context)
***************
*** 102,105 ****
--- 106,110 ----
                                // TODO
                        }
+ #endif
  
        // Destructor.
***************
*** 172,175 ****
--- 177,182 ----
                        }
  
+ #if CONFIG_SERIALIZATION
+ 
        // Implement the ISerializable interface.
        [TODO]
***************
*** 185,188 ****
--- 192,197 ----
                                // Nothing to do here in this implementation.
                        }
+ 
+ #endif // CONFIG_SERIALIZATION
  
        // Get the anonymous Windows identity object.





reply via email to

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