Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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() { } } }
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- VirtualDirectoryMapping.cs
- SerializationStore.cs
- ToolStripScrollButton.cs
- DataGridViewLayoutData.cs
- ApplicationBuildProvider.cs
- EnumUnknown.cs
- ToolStripItemCollection.cs
- HostingPreferredMapPath.cs
- UInt32.cs
- UnionCodeGroup.cs
- CqlWriter.cs
- SqlNodeTypeOperators.cs
- FontUnit.cs
- FontWeights.cs
- loginstatus.cs
- NamespaceExpr.cs
- BrowserCapabilitiesCodeGenerator.cs
- LazyTextWriterCreator.cs
- HttpListener.cs
- SqlWebEventProvider.cs
- FreezableCollection.cs
- DataSourceControl.cs
- SiteMapDataSourceView.cs
- Int32RectConverter.cs
- PreviewPageInfo.cs
- WindowShowOrOpenTracker.cs
- SessionStateModule.cs
- SqlProvider.cs
- MediaCommands.cs
- MaskedTextBox.cs
- DSASignatureFormatter.cs
- RelationshipSet.cs
- XmlUnspecifiedAttribute.cs
- CacheHelper.cs
- TableRowCollection.cs
- GridItem.cs
- Transform.cs
- AuthenticateEventArgs.cs
- BooleanConverter.cs
- ReadOnlyNameValueCollection.cs
- Int32.cs
- OleDbDataReader.cs
- UrlAuthorizationModule.cs
- WebEventTraceProvider.cs
- PrintControllerWithStatusDialog.cs
- WebHttpBinding.cs
- RowVisual.cs
- XPathNavigatorReader.cs
- ToolboxService.cs
- EditCommandColumn.cs
- ZipPackage.cs
- OdbcConnectionStringbuilder.cs
- WebUtil.cs
- WbemException.cs
- ConfigurationPropertyAttribute.cs
- GlobalItem.cs
- HttpApplicationFactory.cs
- safePerfProviderHandle.cs
- OptionUsage.cs
- DataProviderNameConverter.cs
- SafeNativeMethods.cs
- BamlTreeMap.cs
- ThaiBuddhistCalendar.cs
- CompModHelpers.cs
- ReadOnlyNameValueCollection.cs
- Mutex.cs
- Menu.cs
- InvalidOleVariantTypeException.cs
- VirtualPathExtension.cs
- SelectionProviderWrapper.cs
- IISMapPath.cs
- HtmlForm.cs
- EntityDataReader.cs
- Image.cs
- InstanceDataCollection.cs
- OleDbTransaction.cs
- BasicCellRelation.cs
- ClientBuildManagerTypeDescriptionProviderBridge.cs
- WeakReferenceKey.cs
- WaitHandle.cs
- ParseChildrenAsPropertiesAttribute.cs
- ManipulationBoundaryFeedbackEventArgs.cs
- ExceptionHandler.cs
- SubtreeProcessor.cs
- PolyLineSegment.cs
- WindowsSpinner.cs
- SessionParameter.cs
- UnsafePeerToPeerMethods.cs
- XmlWriter.cs
- ObjectItemAssemblyLoader.cs
- PathSegment.cs
- ForeignKeyFactory.cs
- CheckBoxBaseAdapter.cs
- InputProviderSite.cs
- Control.cs
- IItemProperties.cs
- CommandValueSerializer.cs
- Decoder.cs
- ByteKeyFrameCollection.cs
- GeometryModel3D.cs