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
- ViewManager.cs
- QuadraticBezierSegment.cs
- DataDocumentXPathNavigator.cs
- MenuItemStyleCollectionEditor.cs
- DataGridViewIntLinkedList.cs
- ConfigurationElement.cs
- ProxyAttribute.cs
- PaperSource.cs
- ExpressionPrinter.cs
- DiscoveryEndpoint.cs
- MulticastDelegate.cs
- TrackBarRenderer.cs
- PrivateFontCollection.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- StateMachineWorkflowDesigner.cs
- AudioSignalProblemOccurredEventArgs.cs
- SchemaObjectWriter.cs
- EventRoute.cs
- XmlQueryOutput.cs
- ValueSerializerAttribute.cs
- ZoneIdentityPermission.cs
- __FastResourceComparer.cs
- CustomBindingElementCollection.cs
- BadImageFormatException.cs
- CipherData.cs
- SafeHandles.cs
- DbProviderFactoriesConfigurationHandler.cs
- XmlSchemaRedefine.cs
- PropertyGrid.cs
- MetadataHelper.cs
- counter.cs
- DefaultDiscoveryService.cs
- ConnectionPointGlyph.cs
- DefaultEventAttribute.cs
- ExtentKey.cs
- DependencyPropertyAttribute.cs
- PackageRelationshipSelector.cs
- AssemblyHash.cs
- CanonicalFontFamilyReference.cs
- ParameterCollection.cs
- SrgsDocument.cs
- AutomationTextAttribute.cs
- SmtpReplyReaderFactory.cs
- Renderer.cs
- CustomAttributeBuilder.cs
- StylusPointProperties.cs
- IPPacketInformation.cs
- VectorAnimationUsingKeyFrames.cs
- HttpPostProtocolImporter.cs
- PersonalizationState.cs
- CodeGotoStatement.cs
- DataGridViewSelectedRowCollection.cs
- ProxyWebPart.cs
- PropertySet.cs
- Marshal.cs
- PlacementWorkspace.cs
- ScriptResourceAttribute.cs
- PopupEventArgs.cs
- ConfigXmlAttribute.cs
- ConnectionsZoneDesigner.cs
- TableRowCollection.cs
- ReferencedCollectionType.cs
- MethodToken.cs
- WebPartDisplayModeEventArgs.cs
- PersonalizationProvider.cs
- GlyphsSerializer.cs
- ReceiveContextCollection.cs
- HtmlInputFile.cs
- DefaultProfileManager.cs
- NumberSubstitution.cs
- SiteMapNodeItemEventArgs.cs
- TimerEventSubscription.cs
- DataListItemEventArgs.cs
- HttpModuleActionCollection.cs
- CodeStatementCollection.cs
- HttpsHostedTransportConfiguration.cs
- ToolStripDropTargetManager.cs
- WpfPayload.cs
- _KerberosClient.cs
- CounterSampleCalculator.cs
- RotateTransform3D.cs
- Buffer.cs
- GenerateScriptTypeAttribute.cs
- ToolStripSystemRenderer.cs
- WebPartCatalogAddVerb.cs
- Page.cs
- AttachmentCollection.cs
- StringUtil.cs
- Grid.cs
- Operator.cs
- WebHttpDispatchOperationSelector.cs
- UrlPropertyAttribute.cs
- DesignerView.Commands.cs
- Rotation3D.cs
- SchemaManager.cs
- HtmlElementEventArgs.cs
- SaveFileDialog.cs
- _HeaderInfoTable.cs
- HandleCollector.cs
- DataServiceOperationContext.cs