Code:
/ DotNET / DotNET / 8.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
- XmlFormatExtensionPointAttribute.cs
- SafeLocalMemHandle.cs
- EncryptedData.cs
- BamlRecordWriter.cs
- EarlyBoundInfo.cs
- HttpProfileGroupBase.cs
- ToolStripPanel.cs
- EventItfInfo.cs
- AssertSection.cs
- ObjectCloneHelper.cs
- ConnectionStringsExpressionEditor.cs
- CodeConditionStatement.cs
- RepeaterItem.cs
- PropertyConverter.cs
- ping.cs
- GenericAuthenticationEventArgs.cs
- CodeTypeMember.cs
- ApplicationInfo.cs
- Variable.cs
- WebControlAdapter.cs
- ErrorHandler.cs
- BulletedList.cs
- ListViewGroupItemCollection.cs
- CharacterMetricsDictionary.cs
- TemplateParser.cs
- Subtree.cs
- XmlSerializationGeneratedCode.cs
- XamlToRtfWriter.cs
- DesignConnectionCollection.cs
- SectionVisual.cs
- TimeSpanStorage.cs
- DataGridItem.cs
- HwndSourceKeyboardInputSite.cs
- DataTablePropertyDescriptor.cs
- QilGeneratorEnv.cs
- UMPAttributes.cs
- ExtendedTransformFactory.cs
- ValidatingReaderNodeData.cs
- CreatingCookieEventArgs.cs
- XmlWrappingReader.cs
- ZoneButton.cs
- CapiHashAlgorithm.cs
- SqlBulkCopyColumnMapping.cs
- SortQuery.cs
- SoapCodeExporter.cs
- HandlerWithFactory.cs
- TypeGenericEnumerableViewSchema.cs
- RuntimeResourceSet.cs
- MaterializeFromAtom.cs
- ImageAttributes.cs
- PhysicalFontFamily.cs
- ProxyWebPart.cs
- ColorTransformHelper.cs
- HtmlInputImage.cs
- WsrmFault.cs
- DependencyPropertyConverter.cs
- ColumnMapProcessor.cs
- ModelEditingScope.cs
- BamlTreeNode.cs
- MultilineStringConverter.cs
- FrameworkName.cs
- MonthCalendar.cs
- WindowsButton.cs
- ListBox.cs
- ReaderOutput.cs
- RepeatButtonAutomationPeer.cs
- BypassElementCollection.cs
- CodeAssignStatement.cs
- _LocalDataStoreMgr.cs
- FacetDescription.cs
- AutomationPatternInfo.cs
- Thumb.cs
- RelationshipConstraintValidator.cs
- ActiveDocumentEvent.cs
- SynchronizedDispatch.cs
- SqlProviderManifest.cs
- CheckBox.cs
- HtmlEmptyTagControlBuilder.cs
- Typography.cs
- PinnedBufferMemoryStream.cs
- HMACSHA1.cs
- DbProviderServices.cs
- CryptoHelper.cs
- BookmarkResumptionRecord.cs
- ViewStateModeByIdAttribute.cs
- DataKeyCollection.cs
- FileDialogPermission.cs
- RepeaterItem.cs
- SurrogateSelector.cs
- SqlBulkCopy.cs
- StringSorter.cs
- InfoCardRSAOAEPKeyExchangeDeformatter.cs
- ManagementObjectSearcher.cs
- SerializationEventsCache.cs
- ReversePositionQuery.cs
- ZoneButton.cs
- ToolStripItemTextRenderEventArgs.cs
- SimpleParser.cs
- Unit.cs
- PrintDialog.cs