Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / Net / System / Net / NetworkInformation / SystemIPv6InterfaceProperties.cs / 1 / SystemIPv6InterfaceProperties.cs
///
/// Provides support for ip configuation information and statistics.
///
///
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;
}
/// 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.
///
/// Provides support for ip configuation information and statistics.
///
///
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;
}
/// 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
- messageonlyhwndwrapper.cs
- BaseTreeIterator.cs
- JavascriptCallbackResponseProperty.cs
- MasterPageBuildProvider.cs
- PrintingPermissionAttribute.cs
- Configuration.cs
- CompilerGeneratedAttribute.cs
- FormViewInsertEventArgs.cs
- Crc32.cs
- SmiEventStream.cs
- ClientBuildManager.cs
- RuleAttributes.cs
- AuthStoreRoleProvider.cs
- RawStylusSystemGestureInputReport.cs
- OutputCacheSettingsSection.cs
- LocalizationParserHooks.cs
- XmlSerializerSection.cs
- UInt32Storage.cs
- AnnotationAdorner.cs
- TransformCollection.cs
- ControlPropertyNameConverter.cs
- EntityEntry.cs
- SplineQuaternionKeyFrame.cs
- SafeNativeHandle.cs
- ListChangedEventArgs.cs
- TextCollapsingProperties.cs
- glyphs.cs
- HttpRequestCacheValidator.cs
- LinearGradientBrush.cs
- JumpItem.cs
- BinaryReader.cs
- NodeInfo.cs
- PropertyMetadata.cs
- EventRoute.cs
- SolidColorBrush.cs
- DoubleLinkList.cs
- DuplexChannelFactory.cs
- SafeFileMappingHandle.cs
- CoreSwitches.cs
- Mutex.cs
- CookieParameter.cs
- Label.cs
- RectAnimationClockResource.cs
- SystemFonts.cs
- CacheOutputQuery.cs
- CodeGenerator.cs
- CompoundFileStreamReference.cs
- RadioButtonRenderer.cs
- OrderedDictionaryStateHelper.cs
- ToolStripRenderEventArgs.cs
- XmlSchemaSimpleContentExtension.cs
- WasHttpHandlersInstallComponent.cs
- OracleNumber.cs
- TimeSpanValidator.cs
- ReadOnlyDictionary.cs
- EntityDataSourceColumn.cs
- Point4D.cs
- Baml2006ReaderContext.cs
- UIElementPropertyUndoUnit.cs
- Trace.cs
- TerminateSequence.cs
- DynamicResourceExtension.cs
- SafeHandles.cs
- DataSourceCache.cs
- UserMapPath.cs
- SegmentInfo.cs
- XmlHierarchyData.cs
- DecimalFormatter.cs
- StylusDownEventArgs.cs
- TagPrefixInfo.cs
- EditorPartChrome.cs
- ConditionCollection.cs
- PrtTicket_Editor.cs
- IPPacketInformation.cs
- XmlSchemaValidator.cs
- ProcessRequestAsyncResult.cs
- SafeArrayTypeMismatchException.cs
- _UncName.cs
- CodeSnippetStatement.cs
- TableLayoutPanelCellPosition.cs
- XPathNavigator.cs
- GridViewPageEventArgs.cs
- EntityTypeBase.cs
- DirectoryObjectSecurity.cs
- PartialClassGenerationTask.cs
- CustomErrorCollection.cs
- RelOps.cs
- Lasso.cs
- ConsumerConnectionPoint.cs
- TraceSection.cs
- UdpMessageProperty.cs
- RuntimeConfig.cs
- UnsafeNativeMethods.cs
- IPipelineRuntime.cs
- XomlCompilerHelpers.cs
- SID.cs
- SHA1Managed.cs
- ECDsa.cs
- AuthenticationService.cs
- ConfigXmlDocument.cs