Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / Net / System / Net / NetworkInformation / SystemIPv6InterfaceProperties.cs / 1 / SystemIPv6InterfaceProperties.cs
////// namespace System.Net.NetworkInformation { using System.Net; using System.Net.Sockets; using System; using System.Runtime.InteropServices; using System.Collections; using System.ComponentModel; using System.Security.Permissions; using Microsoft.Win32; internal class SystemIPv6InterfaceProperties:IPv6InterfaceProperties{ uint index = 0; uint mtu = 0; internal SystemIPv6InterfaceProperties(uint index, uint mtu) { this.index = index; this.mtu = mtu; } /// /// Provides support for ip configuation information and statistics. /// Specifies the Maximum transmission unit in bytes. Uses GetIFEntry. //We cache this to be consistent across all platforms public override int Index{ get { return (int)index; } } ///Specifies the Maximum transmission unit in bytes. Uses GetIFEntry. //We cache this to be consistent across all platforms public override int Mtu{ get { return (int) mtu; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. ////// namespace System.Net.NetworkInformation { using System.Net; using System.Net.Sockets; using System; using System.Runtime.InteropServices; using System.Collections; using System.ComponentModel; using System.Security.Permissions; using Microsoft.Win32; internal class SystemIPv6InterfaceProperties:IPv6InterfaceProperties{ uint index = 0; uint mtu = 0; internal SystemIPv6InterfaceProperties(uint index, uint mtu) { this.index = index; this.mtu = mtu; } /// /// Provides support for ip configuation information and statistics. /// Specifies the Maximum transmission unit in bytes. Uses GetIFEntry. //We cache this to be consistent across all platforms public override int Index{ get { return (int)index; } } ///Specifies the Maximum transmission unit in bytes. Uses GetIFEntry. //We cache this to be consistent across all platforms public override int Mtu{ get { return (int) mtu; } } } } // 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
- XmlComplianceUtil.cs
- Rectangle.cs
- ThrowHelper.cs
- Clock.cs
- ActivationService.cs
- AlphabeticalEnumConverter.cs
- URLEditor.cs
- ServicePoint.cs
- SchemaTypeEmitter.cs
- DataRecordInternal.cs
- DesignerDataTable.cs
- PropertiesTab.cs
- RSAOAEPKeyExchangeDeformatter.cs
- formatter.cs
- RequestNavigateEventArgs.cs
- FirewallWrapper.cs
- Double.cs
- CompilerGeneratedAttribute.cs
- ComboBoxItem.cs
- ComponentDesigner.cs
- FormViewInsertedEventArgs.cs
- Avt.cs
- HttpProfileBase.cs
- Style.cs
- DiscoveryInnerClientAdhocCD1.cs
- TraceLog.cs
- Authorization.cs
- Symbol.cs
- ReliableMessagingVersionConverter.cs
- _KerberosClient.cs
- BaseValidator.cs
- DebugTraceHelper.cs
- DataGridViewDataConnection.cs
- SystemFonts.cs
- BufferedWebEventProvider.cs
- ProtectedConfigurationProviderCollection.cs
- DictionaryGlobals.cs
- ParseChildrenAsPropertiesAttribute.cs
- BrowserDefinition.cs
- BackgroundFormatInfo.cs
- StylusPointPropertyInfoDefaults.cs
- NetworkInformationException.cs
- CfgArc.cs
- BaseCollection.cs
- InheritablePropertyChangeInfo.cs
- CompileXomlTask.cs
- ProfileElement.cs
- DataColumnMapping.cs
- IgnoreFlushAndCloseStream.cs
- ConnectionStringSettings.cs
- ContainerAction.cs
- ViewLoader.cs
- Internal.cs
- RadialGradientBrush.cs
- AttributeCollection.cs
- SourceCollection.cs
- HandlerWithFactory.cs
- ConfigDefinitionUpdates.cs
- DescendantQuery.cs
- _NtlmClient.cs
- FontDriver.cs
- CommandHelper.cs
- AdapterUtil.cs
- DescendentsWalkerBase.cs
- QEncodedStream.cs
- CookieParameter.cs
- TreeNodeEventArgs.cs
- RuntimeTransactionHandle.cs
- MasterPageBuildProvider.cs
- PeerObject.cs
- DataContractSerializerFaultFormatter.cs
- ObjectManager.cs
- SqlWebEventProvider.cs
- FormClosingEvent.cs
- EntityReference.cs
- EdmProviderManifest.cs
- ACE.cs
- ErrorTableItemStyle.cs
- HttpHandlerActionCollection.cs
- TemplateLookupAction.cs
- ExeConfigurationFileMap.cs
- UpdateExpressionVisitor.cs
- ChtmlTextWriter.cs
- PrivilegeNotHeldException.cs
- XsltSettings.cs
- PrivacyNoticeBindingElement.cs
- RegisteredScript.cs
- MDIControlStrip.cs
- BrowserCapabilitiesFactoryBase.cs
- ByteConverter.cs
- SmiConnection.cs
- CustomAttribute.cs
- XmlElementAttribute.cs
- ReachObjectContext.cs
- FocusWithinProperty.cs
- InternalConfigHost.cs
- TreeView.cs
- ConfigXmlCDataSection.cs
- ImpersonateTokenRef.cs
- XmlDocumentType.cs