Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / ndp / fx / src / xsp / System / Web / Configuration / COAUTHINFO.cs / 1 / 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. //------------------------------------------------------------------------------ //// 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ProfileServiceManager.cs
- AdornerHitTestResult.cs
- PageCache.cs
- SerializerWriterEventHandlers.cs
- MulticastDelegate.cs
- ScaleTransform.cs
- WebPartConnection.cs
- ObjectAnimationBase.cs
- PtsContext.cs
- CodeAccessSecurityEngine.cs
- ZipPackagePart.cs
- TextComposition.cs
- ProvideValueServiceProvider.cs
- WorkflowDesignerColors.cs
- ServiceDescriptionReflector.cs
- QueryOptionExpression.cs
- OracleColumn.cs
- NonParentingControl.cs
- DisplayInformation.cs
- SQLInt16.cs
- Random.cs
- dataprotectionpermission.cs
- ScalarOps.cs
- CopyNodeSetAction.cs
- ConfigurationValidatorAttribute.cs
- ToggleButton.cs
- NavigationProgressEventArgs.cs
- PriorityQueue.cs
- WindowsPrincipal.cs
- Context.cs
- RemotingServices.cs
- TagMapCollection.cs
- DiscoveryDocumentSearchPattern.cs
- ApplicationBuildProvider.cs
- PathFigure.cs
- StickyNoteHelper.cs
- InvalidCommandTreeException.cs
- RbTree.cs
- AssociatedControlConverter.cs
- MD5.cs
- MetadataItemEmitter.cs
- WebPartZone.cs
- RegexInterpreter.cs
- ProxyWebPartConnectionCollection.cs
- newitemfactory.cs
- Latin1Encoding.cs
- ActivityPropertyReference.cs
- IDispatchConstantAttribute.cs
- FontFamilyValueSerializer.cs
- CompensableActivity.cs
- SrgsRulesCollection.cs
- Attributes.cs
- MimeImporter.cs
- MatrixAnimationUsingKeyFrames.cs
- SqlProcedureAttribute.cs
- TagPrefixCollection.cs
- AbstractDataSvcMapFileLoader.cs
- XmlImplementation.cs
- VirtualizedContainerService.cs
- HostProtectionPermission.cs
- XPathQilFactory.cs
- ImageFormatConverter.cs
- ResourceReferenceKeyNotFoundException.cs
- HostElement.cs
- StyleCollectionEditor.cs
- EventRouteFactory.cs
- DoubleAnimation.cs
- HistoryEventArgs.cs
- WmiEventSink.cs
- CaseCqlBlock.cs
- ExpressionEditorAttribute.cs
- UriTemplateVariableQueryValue.cs
- EntityCommandCompilationException.cs
- MediaPlayer.cs
- HttpHandlersSection.cs
- DefinitionBase.cs
- XmlAnyAttributeAttribute.cs
- XmlSchemaInclude.cs
- OrderedDictionary.cs
- SecurityDescriptor.cs
- SqlCacheDependency.cs
- ExtenderProvidedPropertyAttribute.cs
- ScrollChrome.cs
- ExtensionWindowResizeGrip.cs
- XmlExpressionDumper.cs
- Style.cs
- __ComObject.cs
- Hex.cs
- NavigationCommands.cs
- ErrorLog.cs
- XmlSerializerFaultFormatter.cs
- Span.cs
- ProtocolsConfiguration.cs
- Matrix.cs
- ContractUtils.cs
- HttpWriter.cs
- WebBrowsableAttribute.cs
- CodeCommentStatement.cs
- ActivityTypeCodeDomSerializer.cs
- SafeWaitHandle.cs