Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / xsp / System / Web / Configuration / COSERVERINFO.cs / 1 / COSERVERINFO.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 COSERVERINFO : IDisposable { internal COSERVERINFO(string srvname, IntPtr authinf) { servername = srvname; authinfo = authinf; } #pragma warning disable 0649 internal int reserved1; #pragma warning restore 0649 [MarshalAs(UnmanagedType.LPWStr)] internal string servername; internal IntPtr authinfo; // COAUTHINFO* #pragma warning disable 0649 internal int reserved2; #pragma warning restore 0649 void IDisposable.Dispose() { authinfo = IntPtr.Zero; GC.SuppressFinalize(this); } ~COSERVERINFO() { } } [StructLayout(LayoutKind.Sequential, Pack = 4, CharSet = CharSet.Unicode)] internal class COSERVERINFO_X64 : IDisposable { internal COSERVERINFO_X64(string srvname, IntPtr authinf) { servername = srvname; authinfo = authinf; } #pragma warning disable 0649 internal int reserved1; internal int padding1; #pragma warning restore 0649 [MarshalAs(UnmanagedType.LPWStr)] internal string servername; internal IntPtr authinfo; // COAUTHINFO* #pragma warning disable 0649 internal int reserved2; internal int padding2; #pragma warning restore 0649 void IDisposable.Dispose() { authinfo = IntPtr.Zero; GC.SuppressFinalize(this); } ~COSERVERINFO_X64() { } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TemplateBamlRecordReader.cs
- Int64.cs
- PrintControllerWithStatusDialog.cs
- XmlSchemaInclude.cs
- XmlSiteMapProvider.cs
- XPathScanner.cs
- TableSectionStyle.cs
- ElementUtil.cs
- EditorAttributeInfo.cs
- DirectoryNotFoundException.cs
- ListView.cs
- DataExpression.cs
- XamlSerializationHelper.cs
- ValuePatternIdentifiers.cs
- Utils.cs
- SqlDataSourceConnectionPanel.cs
- BypassElement.cs
- DeferredReference.cs
- HtmlString.cs
- QilGenerator.cs
- FileRecordSequenceHelper.cs
- XamlStyleSerializer.cs
- XmlWriter.cs
- RIPEMD160Managed.cs
- XmlSchemaRedefine.cs
- ConditionalBranch.cs
- SQLString.cs
- CustomTypeDescriptor.cs
- DockPanel.cs
- ManualResetEvent.cs
- ExportOptions.cs
- SamlAttribute.cs
- TcpStreams.cs
- ToolboxCategory.cs
- CompositeDispatchFormatter.cs
- TextEditorThreadLocalStore.cs
- ToolStripItemEventArgs.cs
- RegexCaptureCollection.cs
- Attributes.cs
- HostedElements.cs
- ExpressionEvaluator.cs
- XmlDocument.cs
- SqlException.cs
- MetadataException.cs
- Encoding.cs
- ListBoxItemAutomationPeer.cs
- ExtendedPropertiesHandler.cs
- TextBox.cs
- RemoteWebConfigurationHostServer.cs
- UnionExpr.cs
- DockingAttribute.cs
- Condition.cs
- DesignerAttributeInfo.cs
- BaseInfoTable.cs
- TimeoutHelper.cs
- ExceptionUtil.cs
- GPStream.cs
- PasswordRecoveryDesigner.cs
- DataList.cs
- XmlUtilWriter.cs
- SoapHelper.cs
- KeyManager.cs
- SchemaElementDecl.cs
- ExpressionConverter.cs
- FrameworkElement.cs
- ProfileManager.cs
- WebPartZoneCollection.cs
- ImmutablePropertyDescriptorGridEntry.cs
- DrawingVisualDrawingContext.cs
- OrderedDictionary.cs
- Calendar.cs
- CallbackHandler.cs
- XmlWrappingWriter.cs
- SourceItem.cs
- XsdValidatingReader.cs
- ThreadStaticAttribute.cs
- SQLDouble.cs
- ErrorActivity.cs
- Memoizer.cs
- BaseTemplateBuildProvider.cs
- DbDataAdapter.cs
- InternalDispatchObject.cs
- WebProxyScriptElement.cs
- RewritingValidator.cs
- InternalCache.cs
- DataGridViewRowPostPaintEventArgs.cs
- MailMessageEventArgs.cs
- TypeConverter.cs
- BehaviorEditorPart.cs
- WebConfigurationHostFileChange.cs
- SerializationInfo.cs
- FontDifferentiator.cs
- QueryCacheManager.cs
- GroupBoxDesigner.cs
- VersionedStreamOwner.cs
- WinEventHandler.cs
- WindowsListViewItemStartMenu.cs
- DataKeyCollection.cs
- CngKeyCreationParameters.cs
- DataSourceCache.cs