Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / 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() { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ //// 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() { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- BackgroundWorker.cs
- RadioButtonFlatAdapter.cs
- ByteKeyFrameCollection.cs
- FixedTextContainer.cs
- Number.cs
- CodeExporter.cs
- QueryOutputWriter.cs
- RoutedPropertyChangedEventArgs.cs
- GeneralTransform3DCollection.cs
- UIElement3D.cs
- NameValuePermission.cs
- SHA384.cs
- ChameleonKey.cs
- RelatedPropertyManager.cs
- SqlDependencyUtils.cs
- ToolStrip.cs
- CodeLinePragma.cs
- BinaryParser.cs
- ListItemsCollectionEditor.cs
- Overlapped.cs
- Queue.cs
- RegexWorker.cs
- RelationshipConverter.cs
- BaseValidator.cs
- XPathNodeHelper.cs
- DependencyPropertyConverter.cs
- SectionRecord.cs
- TranslateTransform3D.cs
- DataGridViewSelectedRowCollection.cs
- DataObject.cs
- ObjectQuery.cs
- RequestSecurityToken.cs
- IsolatedStorageFileStream.cs
- XmlSchemaExporter.cs
- XMLDiffLoader.cs
- FilteredSchemaElementLookUpTable.cs
- WebServiceResponse.cs
- RoutedEventArgs.cs
- ResourceDisplayNameAttribute.cs
- PhoneCall.cs
- IgnoreSectionHandler.cs
- ArraySortHelper.cs
- HorizontalAlignConverter.cs
- OutputCacheSection.cs
- String.cs
- BufferModesCollection.cs
- TransactionsSectionGroup.cs
- AliasExpr.cs
- DefaultBindingPropertyAttribute.cs
- _CacheStreams.cs
- Converter.cs
- RequestNavigateEventArgs.cs
- GlyphRunDrawing.cs
- DataRowChangeEvent.cs
- BaseInfoTable.cs
- EntityDataSourceState.cs
- CodeAttributeDeclarationCollection.cs
- XPathSelfQuery.cs
- DataGridViewColumnCollectionEditor.cs
- ParameterToken.cs
- BaseCollection.cs
- UInt32Storage.cs
- ScrollBarRenderer.cs
- IBuiltInEvidence.cs
- SelectorItemAutomationPeer.cs
- CodeGeneratorOptions.cs
- EncryptRequest.cs
- WebPartConnectionsDisconnectVerb.cs
- X509CertificateCollection.cs
- XmlQuerySequence.cs
- DocumentPageView.cs
- DataRelationPropertyDescriptor.cs
- ActivityExecutionContextCollection.cs
- ImageListStreamer.cs
- PersistChildrenAttribute.cs
- DoubleAverageAggregationOperator.cs
- SmtpDigestAuthenticationModule.cs
- BatchStream.cs
- TypeBrowserDialog.cs
- OutputScopeManager.cs
- DescendentsWalker.cs
- activationcontext.cs
- ObjectDataSourceEventArgs.cs
- SqlDataSourceView.cs
- DbModificationClause.cs
- XmlEntity.cs
- KeyTimeConverter.cs
- DoubleAnimation.cs
- RegexBoyerMoore.cs
- BindableAttribute.cs
- InternalsVisibleToAttribute.cs
- PropertyMap.cs
- ThreadAttributes.cs
- FileDetails.cs
- Mutex.cs
- Animatable.cs
- WindowsListBox.cs
- CustomAttribute.cs
- XmlSerializerVersionAttribute.cs
- ErrorStyle.cs