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
- ToolStripKeyboardHandlingService.cs
- Variant.cs
- XPathEmptyIterator.cs
- SqlExpander.cs
- uribuilder.cs
- DataBindEngine.cs
- PersonalizationProvider.cs
- _Events.cs
- NavigationPropertyAccessor.cs
- QilSortKey.cs
- WebConfigurationManager.cs
- DataGridAutoFormatDialog.cs
- OracleSqlParser.cs
- AlignmentXValidation.cs
- SessionPageStatePersister.cs
- CodeAttachEventStatement.cs
- _NegoState.cs
- TraceContext.cs
- SqlIdentifier.cs
- CssStyleCollection.cs
- GenericIdentity.cs
- Decorator.cs
- SecurityPermission.cs
- EntryIndex.cs
- NotifyIcon.cs
- PhysicalAddress.cs
- XmlSchemaSimpleContent.cs
- WindowShowOrOpenTracker.cs
- ObjectConverter.cs
- DrawingContextDrawingContextWalker.cs
- PropertyIdentifier.cs
- InsufficientMemoryException.cs
- MarginCollapsingState.cs
- XmlSchemaSimpleTypeList.cs
- PropertyRef.cs
- TrustSection.cs
- DependencyObject.cs
- CustomExpressionEventArgs.cs
- Canvas.cs
- ObjectConverter.cs
- linebase.cs
- XmlSchemaDatatype.cs
- GridViewAutomationPeer.cs
- UnsafeNativeMethods.cs
- XmlSchemaSimpleContentExtension.cs
- ZoneButton.cs
- ListDictionary.cs
- CustomErrorsSectionWrapper.cs
- RSACryptoServiceProvider.cs
- SurrogateSelector.cs
- KeyFrames.cs
- Permission.cs
- ConfigDefinitionUpdates.cs
- Function.cs
- DocumentsTrace.cs
- BuiltInExpr.cs
- TreeNodeStyleCollection.cs
- WebRequestModulesSection.cs
- EraserBehavior.cs
- ScrollData.cs
- CssStyleCollection.cs
- mongolianshape.cs
- WebPartsPersonalization.cs
- ConstructorNeedsTagAttribute.cs
- ThreadStateException.cs
- MarshalByRefObject.cs
- DaylightTime.cs
- SerializationSectionGroup.cs
- ExceptionUtil.cs
- PersonalizableTypeEntry.cs
- CancellationTokenRegistration.cs
- HiddenFieldPageStatePersister.cs
- AnnotationObservableCollection.cs
- BuilderInfo.cs
- Propagator.ExtentPlaceholderCreator.cs
- TextLine.cs
- ExpressionBindings.cs
- assemblycache.cs
- UrlMappingsSection.cs
- ContentFileHelper.cs
- DbMetaDataColumnNames.cs
- Console.cs
- HttpProfileGroupBase.cs
- MainMenu.cs
- baseaxisquery.cs
- TextElementCollection.cs
- ItemMap.cs
- JsonQNameDataContract.cs
- ItemsPresenter.cs
- Error.cs
- SessionStateUtil.cs
- SchemaObjectWriter.cs
- ActivityTrace.cs
- COM2Properties.cs
- ConfigXmlCDataSection.cs
- LinqDataSourceValidationException.cs
- SystemEvents.cs
- Match.cs
- WorkflowApplicationTerminatedException.cs
- SoundPlayerAction.cs