Code:
/ DotNET / DotNET / 8.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
- SplayTreeNode.cs
- ProfileManager.cs
- assertwrapper.cs
- ServiceOperationUIEditor.cs
- StateBag.cs
- PerformanceCounterCategory.cs
- DesignerCapabilities.cs
- ValueType.cs
- Point3DConverter.cs
- ProcessHostMapPath.cs
- PersistChildrenAttribute.cs
- WebPartMovingEventArgs.cs
- SynchronizationLockException.cs
- CacheRequest.cs
- Function.cs
- EmptyEnumerator.cs
- Gdiplus.cs
- SHA1Managed.cs
- FileChangesMonitor.cs
- XmlCharacterData.cs
- SourceInterpreter.cs
- FillBehavior.cs
- SkipStoryboardToFill.cs
- DocumentGridContextMenu.cs
- XMLUtil.cs
- Crypto.cs
- TrackingMemoryStreamFactory.cs
- ThreadExceptionEvent.cs
- EntityAdapter.cs
- Int32KeyFrameCollection.cs
- RsaSecurityKey.cs
- XmlValidatingReaderImpl.cs
- IERequestCache.cs
- ControlParameter.cs
- FontInfo.cs
- SimpleWorkerRequest.cs
- FlowNode.cs
- Win32SafeHandles.cs
- NativeMethods.cs
- EventProviderWriter.cs
- HttpWebRequestElement.cs
- WebPartsSection.cs
- EntityObject.cs
- OLEDB_Enum.cs
- SynchronizedInputPattern.cs
- PageParser.cs
- EdgeProfileValidation.cs
- ScopedMessagePartSpecification.cs
- ResourceWriter.cs
- DataMisalignedException.cs
- ProviderConnectionPointCollection.cs
- DynamicRenderer.cs
- BoundingRectTracker.cs
- Math.cs
- _TimerThread.cs
- TriggerAction.cs
- PaperSource.cs
- ListViewCommandEventArgs.cs
- SoapSchemaExporter.cs
- ProcessInputEventArgs.cs
- DesignerTransaction.cs
- MenuAdapter.cs
- _HTTPDateParse.cs
- Message.cs
- FactoryGenerator.cs
- BooleanFunctions.cs
- ExecutionTracker.cs
- StrokeNodeEnumerator.cs
- Panel.cs
- CollectionCodeDomSerializer.cs
- MissingFieldException.cs
- XamlStream.cs
- ManagementObjectCollection.cs
- ActivationArguments.cs
- WebServiceData.cs
- Blend.cs
- AspNetHostingPermission.cs
- _SafeNetHandles.cs
- DesignerSerializationOptionsAttribute.cs
- IsolatedStoragePermission.cs
- OracleColumn.cs
- AdCreatedEventArgs.cs
- ImplicitInputBrush.cs
- SqlInternalConnection.cs
- TemplateControl.cs
- HtmlTextArea.cs
- SID.cs
- ActivityDesignerResources.cs
- RewritingSimplifier.cs
- AdornerDecorator.cs
- BamlLocalizableResource.cs
- BindingValueChangedEventArgs.cs
- IRCollection.cs
- DateTimeOffsetStorage.cs
- PostBackOptions.cs
- SqlInternalConnectionTds.cs
- BmpBitmapDecoder.cs
- PeerPresenceInfo.cs
- EventBuilder.cs
- IdentityModelDictionary.cs