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
- ZipIOExtraFieldPaddingElement.cs
- ChangeNode.cs
- GenerateTemporaryTargetAssembly.cs
- WorkflowDataContext.cs
- CustomExpressionEventArgs.cs
- ProcessHost.cs
- CompilerLocalReference.cs
- AutomationEvent.cs
- IDataContractSurrogate.cs
- TraceProvider.cs
- StructuralObject.cs
- ObjectDataSourceSelectingEventArgs.cs
- GeometryHitTestParameters.cs
- FontFamilyValueSerializer.cs
- TextBlockAutomationPeer.cs
- StringArrayConverter.cs
- XMLDiffLoader.cs
- FaultPropagationRecord.cs
- Win32PrintDialog.cs
- CodeCastExpression.cs
- BufferBuilder.cs
- EntityExpressionVisitor.cs
- RuleInfoComparer.cs
- ThaiBuddhistCalendar.cs
- TabletCollection.cs
- CodeBlockBuilder.cs
- SplitterEvent.cs
- BitmapEditor.cs
- OraclePermission.cs
- IssuanceLicense.cs
- ObjectCache.cs
- PropertyInformationCollection.cs
- DoWorkEventArgs.cs
- SerializationException.cs
- SelectedDatesCollection.cs
- Control.cs
- CellParaClient.cs
- RoutedEventHandlerInfo.cs
- CmsInterop.cs
- HttpWrapper.cs
- OdbcTransaction.cs
- MLangCodePageEncoding.cs
- XPathAncestorIterator.cs
- Positioning.cs
- PropertyEntry.cs
- PathFigureCollectionValueSerializer.cs
- DockProviderWrapper.cs
- DataGridViewElement.cs
- MultitargetingHelpers.cs
- ThreadStateException.cs
- PackWebResponse.cs
- UriTemplateDispatchFormatter.cs
- BamlLocalizableResource.cs
- ResourcePermissionBase.cs
- PointCollectionConverter.cs
- PropertyRecord.cs
- WindowsListViewGroupHelper.cs
- LogConverter.cs
- ProfileSettings.cs
- QualifiedCellIdBoolean.cs
- IApplicationTrustManager.cs
- Empty.cs
- DataGridViewRowEventArgs.cs
- AttachedAnnotation.cs
- InterleavedZipPartStream.cs
- ManagedWndProcTracker.cs
- FieldAccessException.cs
- MessageAction.cs
- SpecularMaterial.cs
- RSAPKCS1SignatureDeformatter.cs
- DocumentXmlWriter.cs
- DisplayInformation.cs
- LayoutTableCell.cs
- ControlFilterExpression.cs
- Matrix3DStack.cs
- ConnectionPoint.cs
- WindowsRegion.cs
- TextBoxView.cs
- Constraint.cs
- VerticalAlignConverter.cs
- GenericTextProperties.cs
- WebBrowserProgressChangedEventHandler.cs
- MouseButton.cs
- WasHostedComPlusFactory.cs
- SiteMap.cs
- ViewStateModeByIdAttribute.cs
- columnmapfactory.cs
- OutputCacheProfileCollection.cs
- StdRegProviderWrapper.cs
- NotifyCollectionChangedEventArgs.cs
- ElementNotAvailableException.cs
- Stack.cs
- PowerEase.cs
- CompiledQuery.cs
- MultipartContentParser.cs
- DrawingGroupDrawingContext.cs
- OptimisticConcurrencyException.cs
- InputScopeConverter.cs
- XmlValidatingReaderImpl.cs
- UnsafeNativeMethods.cs