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
- RegexCode.cs
- HandleCollector.cs
- FrameworkContextData.cs
- ByteBufferPool.cs
- UserControlParser.cs
- Compiler.cs
- TypeInfo.cs
- EventHandlerService.cs
- OdbcConnectionFactory.cs
- DataFormats.cs
- PaginationProgressEventArgs.cs
- XmlCountingReader.cs
- HttpSessionStateWrapper.cs
- _TimerThread.cs
- EdgeProfileValidation.cs
- WebResourceAttribute.cs
- DependencyObject.cs
- QueryCacheKey.cs
- TemplatedControlDesigner.cs
- OlePropertyStructs.cs
- unitconverter.cs
- XsdDateTime.cs
- ActivityExecutionContext.cs
- FieldAccessException.cs
- CalendarDesigner.cs
- DataSourceControlBuilder.cs
- ProxyFragment.cs
- ConnectorDragDropGlyph.cs
- DockPatternIdentifiers.cs
- Debug.cs
- StateBag.cs
- ResetableIterator.cs
- DesignerActionTextItem.cs
- ProcessStartInfo.cs
- CustomErrorCollection.cs
- XmlEncodedRawTextWriter.cs
- CfgParser.cs
- DataListItem.cs
- VirtualizingStackPanel.cs
- ProcessHost.cs
- MenuEventArgs.cs
- SiteMapHierarchicalDataSourceView.cs
- ServiceDescription.cs
- AttributeCollection.cs
- SerializerWriterEventHandlers.cs
- TraceHwndHost.cs
- Point3DConverter.cs
- RectAnimation.cs
- entitydatasourceentitysetnameconverter.cs
- Selection.cs
- Block.cs
- SqlDataSourceCache.cs
- HyperLinkDataBindingHandler.cs
- dsa.cs
- EpmContentSerializer.cs
- ListSortDescription.cs
- OleAutBinder.cs
- BindableTemplateBuilder.cs
- Int32Rect.cs
- SimpleTextLine.cs
- EntityKey.cs
- WebServiceFault.cs
- XmlTextAttribute.cs
- XmlTypeMapping.cs
- EntityDataSourceColumn.cs
- ToolStrip.cs
- WSSecureConversationFeb2005.cs
- _NegoStream.cs
- UpdateCommand.cs
- DataGridViewDataConnection.cs
- QueryCursorEventArgs.cs
- RichTextBoxConstants.cs
- ManipulationDelta.cs
- LinkButton.cs
- ExpressionEditorAttribute.cs
- TextSpanModifier.cs
- StreamResourceInfo.cs
- CodeSubDirectory.cs
- ParserStack.cs
- _DigestClient.cs
- InputLangChangeEvent.cs
- CodeDomDesignerLoader.cs
- SecureEnvironment.cs
- AnimatedTypeHelpers.cs
- X509CertificateInitiatorServiceCredential.cs
- ReferencedCollectionType.cs
- MaskedTextProvider.cs
- AccessKeyManager.cs
- HtmlTableCell.cs
- SamlConditions.cs
- MenuItemAutomationPeer.cs
- StubHelpers.cs
- Part.cs
- MonthChangedEventArgs.cs
- UnsafeNativeMethods.cs
- ExtenderControl.cs
- TextDecorationCollectionConverter.cs
- MDIWindowDialog.cs
- SqlNode.cs
- Journaling.cs