Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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.
//
//-----------------------------------------------------------------------------
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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TypeExtension.cs
- updateconfighost.cs
- MemberInfoSerializationHolder.cs
- ThumbAutomationPeer.cs
- TransactedBatchContext.cs
- Parser.cs
- XmlSerializerSection.cs
- _ConnectOverlappedAsyncResult.cs
- DispatcherExceptionFilterEventArgs.cs
- X509CertificateCollection.cs
- Rfc2898DeriveBytes.cs
- loginstatus.cs
- XmlUtf8RawTextWriter.cs
- ClientTargetCollection.cs
- BindableTemplateBuilder.cs
- MetadataSerializer.cs
- XmlTextEncoder.cs
- GetFileNameResult.cs
- TableRowCollection.cs
- XmlWrappingWriter.cs
- DataServiceQueryOfT.cs
- UInt32.cs
- ClientTargetSection.cs
- ListItemsPage.cs
- keycontainerpermission.cs
- X509ChainPolicy.cs
- LockingPersistenceProvider.cs
- HttpListenerRequest.cs
- MarkupExtensionReturnTypeAttribute.cs
- Annotation.cs
- TargetFrameworkAttribute.cs
- EmissiveMaterial.cs
- XmlCustomFormatter.cs
- AnnotationComponentChooser.cs
- _LoggingObject.cs
- VisualStateGroup.cs
- AudioStateChangedEventArgs.cs
- BindingCompleteEventArgs.cs
- XmlMapping.cs
- dbenumerator.cs
- XmlDesigner.cs
- ViewStateException.cs
- ToggleButtonAutomationPeer.cs
- ReadOnlyDictionary.cs
- ScriptResourceMapping.cs
- ParseNumbers.cs
- ProfilePropertyMetadata.cs
- HttpCachePolicyElement.cs
- DynamicQueryableWrapper.cs
- Fx.cs
- DockPanel.cs
- ActiveXSite.cs
- TransactionChannelListener.cs
- MultiplexingDispatchMessageFormatter.cs
- ParseChildrenAsPropertiesAttribute.cs
- Table.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- ConfigsHelper.cs
- RelativeSource.cs
- FileDialog_Vista.cs
- FloatUtil.cs
- DurableInstanceContextProvider.cs
- DispatcherExceptionEventArgs.cs
- SerialPort.cs
- Table.cs
- LogEntryUtils.cs
- SetterBaseCollection.cs
- ElementHostAutomationPeer.cs
- RSAPKCS1SignatureDeformatter.cs
- EdmItemCollection.cs
- ConvertBinder.cs
- Keyboard.cs
- MultiTrigger.cs
- WebPartHeaderCloseVerb.cs
- DispatcherExceptionFilterEventArgs.cs
- SolidColorBrush.cs
- WindowsUpDown.cs
- ChangesetResponse.cs
- DiagnosticsConfigurationHandler.cs
- XmlReader.cs
- ConfigurationManagerHelperFactory.cs
- RoleManagerEventArgs.cs
- NoneExcludedImageIndexConverter.cs
- SplashScreenNativeMethods.cs
- XPathNodeHelper.cs
- SchemaConstraints.cs
- DependencySource.cs
- SystemGatewayIPAddressInformation.cs
- BrowserInteropHelper.cs
- ParentUndoUnit.cs
- File.cs
- AuthenticatingEventArgs.cs
- SmtpReplyReaderFactory.cs
- BamlRecordReader.cs
- UIElement3D.cs
- RowUpdatedEventArgs.cs
- ObjectDataSourceView.cs
- HMACSHA1.cs
- Vector3DAnimation.cs
- MobileResource.cs