Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / Configuration / COAUTHINFO.cs / 1305376 / COAUTHINFO.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Configuration { using System.Collections; using System.Configuration; using System.Configuration.Internal; using System.Web; using System.Web.Util; using System.Security; using System.IO; using System.Web.Hosting; using System.Runtime.InteropServices; using System.Reflection; using System.Collections.Specialized; using System.Xml; using System.Security.Principal; using System.Threading; using System.Globalization; [StructLayout(LayoutKind.Sequential, Pack = 4, CharSet = CharSet.Unicode)] internal class COAUTHINFO : IDisposable { internal COAUTHINFO(RpcAuthent authent, RpcAuthor author, string serverprinc, RpcLevel level, RpcImpers impers, IntPtr ciptr) { authnsvc = authent; authzsvc = author; serverprincname = serverprinc; authnlevel = level; impersonationlevel = impers; authidentitydata = ciptr; } internal RpcAuthent authnsvc; internal RpcAuthor authzsvc; [MarshalAs(UnmanagedType.LPWStr)] internal string serverprincname; internal RpcLevel authnlevel; internal RpcImpers impersonationlevel; internal IntPtr authidentitydata; // COAUTHIDENTITY* internal int capabilities = 0; // EOAC_NONE void IDisposable.Dispose() { authidentitydata = IntPtr.Zero; GC.SuppressFinalize(this); } ~COAUTHINFO() { } } [StructLayout(LayoutKind.Sequential, Pack = 4, CharSet = CharSet.Unicode)] internal class COAUTHINFO_X64 : IDisposable { internal COAUTHINFO_X64(RpcAuthent authent, RpcAuthor author, string serverprinc, RpcLevel level, RpcImpers impers, IntPtr ciptr) { authnsvc = authent; authzsvc = author; serverprincname = serverprinc; authnlevel = level; impersonationlevel = impers; authidentitydata = ciptr; } internal RpcAuthent authnsvc; internal RpcAuthor authzsvc; [MarshalAs(UnmanagedType.LPWStr)] internal string serverprincname; internal RpcLevel authnlevel; internal RpcImpers impersonationlevel; internal IntPtr authidentitydata; // COAUTHIDENTITY* internal int capabilities = 0; // EOAC_NONE #pragma warning disable 0649 internal int padding; #pragma warning restore 0649 void IDisposable.Dispose() { authidentitydata = IntPtr.Zero; GC.SuppressFinalize(this); } ~COAUTHINFO_X64() { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Configuration { using System.Collections; using System.Configuration; using System.Configuration.Internal; using System.Web; using System.Web.Util; using System.Security; using System.IO; using System.Web.Hosting; using System.Runtime.InteropServices; using System.Reflection; using System.Collections.Specialized; using System.Xml; using System.Security.Principal; using System.Threading; using System.Globalization; [StructLayout(LayoutKind.Sequential, Pack = 4, CharSet = CharSet.Unicode)] internal class COAUTHINFO : IDisposable { internal COAUTHINFO(RpcAuthent authent, RpcAuthor author, string serverprinc, RpcLevel level, RpcImpers impers, IntPtr ciptr) { authnsvc = authent; authzsvc = author; serverprincname = serverprinc; authnlevel = level; impersonationlevel = impers; authidentitydata = ciptr; } internal RpcAuthent authnsvc; internal RpcAuthor authzsvc; [MarshalAs(UnmanagedType.LPWStr)] internal string serverprincname; internal RpcLevel authnlevel; internal RpcImpers impersonationlevel; internal IntPtr authidentitydata; // COAUTHIDENTITY* internal int capabilities = 0; // EOAC_NONE void IDisposable.Dispose() { authidentitydata = IntPtr.Zero; GC.SuppressFinalize(this); } ~COAUTHINFO() { } } [StructLayout(LayoutKind.Sequential, Pack = 4, CharSet = CharSet.Unicode)] internal class COAUTHINFO_X64 : IDisposable { internal COAUTHINFO_X64(RpcAuthent authent, RpcAuthor author, string serverprinc, RpcLevel level, RpcImpers impers, IntPtr ciptr) { authnsvc = authent; authzsvc = author; serverprincname = serverprinc; authnlevel = level; impersonationlevel = impers; authidentitydata = ciptr; } internal RpcAuthent authnsvc; internal RpcAuthor authzsvc; [MarshalAs(UnmanagedType.LPWStr)] internal string serverprincname; internal RpcLevel authnlevel; internal RpcImpers impersonationlevel; internal IntPtr authidentitydata; // COAUTHIDENTITY* internal int capabilities = 0; // EOAC_NONE #pragma warning disable 0649 internal int padding; #pragma warning restore 0649 void IDisposable.Dispose() { authidentitydata = IntPtr.Zero; GC.SuppressFinalize(this); } ~COAUTHINFO_X64() { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PersistenceTypeAttribute.cs
- SocketManager.cs
- ToolboxComponentsCreatingEventArgs.cs
- FormViewCommandEventArgs.cs
- MergeExecutor.cs
- ResizeGrip.cs
- XmlTextWriter.cs
- DataGridHeaderBorder.cs
- CompositeControl.cs
- rsa.cs
- ReadOnlyDictionary.cs
- TabControl.cs
- DropShadowEffect.cs
- LeaseManager.cs
- UIElementParaClient.cs
- SQLMoney.cs
- TextBlock.cs
- XamlSerializationHelper.cs
- OdbcError.cs
- BamlResourceContent.cs
- SafeNativeMethods.cs
- ItemMap.cs
- UserUseLicenseDictionaryLoader.cs
- File.cs
- WindowsListViewItem.cs
- TreeBuilder.cs
- AstTree.cs
- ScrollBarRenderer.cs
- BoolExpression.cs
- MatrixAnimationBase.cs
- PackagingUtilities.cs
- PropertyChangeTracker.cs
- XmlReflectionMember.cs
- Preprocessor.cs
- HostProtectionException.cs
- ConfigXmlElement.cs
- TimeoutValidationAttribute.cs
- WebServiceEndpoint.cs
- BaseUriWithWildcard.cs
- ProcessProtocolHandler.cs
- WorkflowMarkupElementEventArgs.cs
- VirtualPath.cs
- SafeBitVector32.cs
- Geometry3D.cs
- MeasureItemEvent.cs
- WindowsStatic.cs
- LinkArea.cs
- ColorAnimationUsingKeyFrames.cs
- DialogWindow.cs
- GraphicsContext.cs
- GeneralTransform.cs
- BitmapEffectDrawingContextState.cs
- SqlCommandBuilder.cs
- ArraySegment.cs
- CompilerCollection.cs
- ConfigXmlSignificantWhitespace.cs
- XmlUrlEditor.cs
- WindowsStatic.cs
- securestring.cs
- ResourceExpression.cs
- ISO2022Encoding.cs
- XPathNodePointer.cs
- Utils.cs
- SystemIPv6InterfaceProperties.cs
- TokenizerHelper.cs
- ConsumerConnectionPoint.cs
- Schema.cs
- CodeStatement.cs
- PersonalizableTypeEntry.cs
- StringUtil.cs
- Geometry.cs
- InputLanguageManager.cs
- XmlDocumentSerializer.cs
- DesignerMetadata.cs
- ToolStripItem.cs
- _NativeSSPI.cs
- ConnectionInterfaceCollection.cs
- ButtonPopupAdapter.cs
- ToolStripSplitStackLayout.cs
- UrlPath.cs
- ApplicationServiceHelper.cs
- WebPartMovingEventArgs.cs
- MethodImplAttribute.cs
- Queue.cs
- TextEncodedRawTextWriter.cs
- ArcSegment.cs
- WebRequestModuleElementCollection.cs
- TimersDescriptionAttribute.cs
- CharEntityEncoderFallback.cs
- DataBinding.cs
- Serializer.cs
- ToolStripLocationCancelEventArgs.cs
- ClrPerspective.cs
- QueryAccessibilityHelpEvent.cs
- Animatable.cs
- ReferenceEqualityComparer.cs
- ProviderCollection.cs
- FastPropertyAccessor.cs
- WhitespaceRule.cs
- NamespaceDecl.cs