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
- NonBatchDirectoryCompiler.cs
- BitmapEffectInputData.cs
- MediaContextNotificationWindow.cs
- FirstMatchCodeGroup.cs
- MonthChangedEventArgs.cs
- Rect3D.cs
- XmlTextReaderImplHelpers.cs
- TextServicesDisplayAttribute.cs
- ClientTargetCollection.cs
- ApplicationInterop.cs
- XmlSchemaAnnotated.cs
- ImageMapEventArgs.cs
- Validator.cs
- HitTestWithPointDrawingContextWalker.cs
- SmiSettersStream.cs
- GetIndexBinder.cs
- SyntaxCheck.cs
- PropertyInfoSet.cs
- Error.cs
- RowToParametersTransformer.cs
- StringReader.cs
- EqualityArray.cs
- MetadataItemEmitter.cs
- ProgressChangedEventArgs.cs
- SqlBulkCopy.cs
- SortDescriptionCollection.cs
- BlockCollection.cs
- XmlSchemaSimpleContentRestriction.cs
- EmptyStringExpandableObjectConverter.cs
- CustomGrammar.cs
- FixedTextContainer.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- AssemblyHash.cs
- RoleManagerEventArgs.cs
- XsltLibrary.cs
- VersionConverter.cs
- MethodRental.cs
- PreviewKeyDownEventArgs.cs
- RolePrincipal.cs
- PropertyInformation.cs
- SerializationInfoEnumerator.cs
- NameSpaceExtractor.cs
- PenThreadWorker.cs
- DictionaryBase.cs
- UIElement3DAutomationPeer.cs
- CodeParameterDeclarationExpression.cs
- DataGridViewHitTestInfo.cs
- OleDbConnectionInternal.cs
- PreservationFileReader.cs
- QilNode.cs
- WindowsTokenRoleProvider.cs
- CapabilitiesRule.cs
- StorageEntityTypeMapping.cs
- HtmlInputControl.cs
- NodeInfo.cs
- WorkflowServiceHostFactory.cs
- ArrayTypeMismatchException.cs
- embossbitmapeffect.cs
- TextContainerChangeEventArgs.cs
- ViewSimplifier.cs
- ErrorWebPart.cs
- ClickablePoint.cs
- XmlMembersMapping.cs
- HeaderUtility.cs
- figurelengthconverter.cs
- DataGridViewCellCancelEventArgs.cs
- ExtensionQuery.cs
- ReadingWritingEntityEventArgs.cs
- SafeCryptoHandles.cs
- FactoryId.cs
- QilGenerator.cs
- AbstractSvcMapFileLoader.cs
- PackageDigitalSignatureManager.cs
- Char.cs
- InternalConfigHost.cs
- DrawingImage.cs
- DataList.cs
- PageCodeDomTreeGenerator.cs
- Helpers.cs
- AssociatedControlConverter.cs
- Typeface.cs
- ContentAlignmentEditor.cs
- Column.cs
- DetailsViewDesigner.cs
- IOException.cs
- SizeLimitedCache.cs
- SqlCommandBuilder.cs
- TaiwanCalendar.cs
- ImageUrlEditor.cs
- SelectionPattern.cs
- ToggleButtonAutomationPeer.cs
- EntityDataSourceDesignerHelper.cs
- UpdateTranslator.cs
- BaseValidator.cs
- NullableLongAverageAggregationOperator.cs
- indexingfiltermarshaler.cs
- Point3DAnimationBase.cs
- WebPartDescriptionCollection.cs
- TextContainer.cs
- TableItemPattern.cs