Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- WorkflowQueue.cs
- XmlDataDocument.cs
- ObjectItemCollectionAssemblyCacheEntry.cs
- Roles.cs
- TraceLevelStore.cs
- TimerEventSubscriptionCollection.cs
- ProfileInfo.cs
- _LazyAsyncResult.cs
- DataPagerCommandEventArgs.cs
- TypeSource.cs
- Roles.cs
- ConnectivityStatus.cs
- AttachmentService.cs
- ConfigurationConverterBase.cs
- XsltException.cs
- RemoteHelper.cs
- SoapFault.cs
- HtmlProps.cs
- MimeAnyImporter.cs
- FamilyMapCollection.cs
- SchemaImporterExtensionElement.cs
- WSSecurityPolicy11.cs
- RemotingServices.cs
- TraceSection.cs
- SiteMapNodeCollection.cs
- XmlDataProvider.cs
- VirtualDirectoryMappingCollection.cs
- UIElementPropertyUndoUnit.cs
- BuildManagerHost.cs
- CancellationState.cs
- LoadGrammarCompletedEventArgs.cs
- DataObjectSettingDataEventArgs.cs
- ConstructorBuilder.cs
- HttpCapabilitiesSectionHandler.cs
- FrameworkContentElementAutomationPeer.cs
- StringComparer.cs
- AutomationProperty.cs
- Freezable.cs
- FloatUtil.cs
- ConfigErrorGlyph.cs
- TableItemStyle.cs
- TiffBitmapEncoder.cs
- WebBrowserSiteBase.cs
- ReachDocumentPageSerializer.cs
- HttpContext.cs
- PropertyOverridesDialog.cs
- ActiveDocumentEvent.cs
- safelinkcollection.cs
- OrderPreservingPipeliningSpoolingTask.cs
- HostSecurityManager.cs
- XamlSerializerUtil.cs
- IsolatedStorageFileStream.cs
- Rfc2898DeriveBytes.cs
- _Rfc2616CacheValidators.cs
- StrokeFIndices.cs
- SendActivityDesignerTheme.cs
- assemblycache.cs
- ProtocolsConfigurationHandler.cs
- QueryConverter.cs
- TransformerInfo.cs
- XmlRawWriter.cs
- Encoder.cs
- Stream.cs
- Function.cs
- ScriptingWebServicesSectionGroup.cs
- FlowchartDesigner.Helpers.cs
- CheckPair.cs
- AsymmetricKeyExchangeFormatter.cs
- SQLByte.cs
- MemoryFailPoint.cs
- ToolboxBitmapAttribute.cs
- RoleServiceManager.cs
- XmlSchemaAnyAttribute.cs
- Utils.cs
- IntegerCollectionEditor.cs
- UrlRoutingModule.cs
- ArgumentOutOfRangeException.cs
- UIElementPropertyUndoUnit.cs
- AuthenticationSection.cs
- RedistVersionInfo.cs
- HttpConfigurationContext.cs
- ContentWrapperAttribute.cs
- StateMachineSubscription.cs
- BamlReader.cs
- UriExt.cs
- HttpHandlerAction.cs
- PageAsyncTaskManager.cs
- OdbcTransaction.cs
- SelectionProcessor.cs
- TypefaceCollection.cs
- DefaultValueConverter.cs
- GroupBox.cs
- PixelFormatConverter.cs
- BitmapData.cs
- TemplateControlBuildProvider.cs
- ObjectDataSourceMethodEventArgs.cs
- MaskedTextBoxDesigner.cs
- StrokeRenderer.cs
- LineSegment.cs
- ResizingMessageFilter.cs