Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Net / System / Net / NetworkInformation / SystemIPv6InterfaceProperties.cs / 1305376 / 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
- ResourceWriter.cs
- ActivityStatusChangeEventArgs.cs
- ValueTypeFixupInfo.cs
- UnsafeNativeMethods.cs
- XpsSerializerFactory.cs
- ServerTooBusyException.cs
- SqlUserDefinedTypeAttribute.cs
- CheckoutException.cs
- IisNotInstalledException.cs
- MetabaseSettingsIis7.cs
- Floater.cs
- objectresult_tresulttype.cs
- OLEDB_Util.cs
- AudioException.cs
- _ProxyChain.cs
- EventDescriptor.cs
- XmlNodeChangedEventManager.cs
- TypeBuilderInstantiation.cs
- MsmqHostedTransportConfiguration.cs
- BoundingRectTracker.cs
- LoginName.cs
- AnnotationDocumentPaginator.cs
- Ops.cs
- SqlDuplicator.cs
- RoutedEventValueSerializer.cs
- Queue.cs
- KeyInterop.cs
- GeneralTransformGroup.cs
- MultiSelectRootGridEntry.cs
- CustomErrorsSection.cs
- ColumnWidthChangingEvent.cs
- FixedSOMTableRow.cs
- Brush.cs
- ScopelessEnumAttribute.cs
- X509Certificate.cs
- ViewgenContext.cs
- StorageInfo.cs
- CommandDevice.cs
- CodeAccessSecurityEngine.cs
- HijriCalendar.cs
- PointHitTestResult.cs
- ItemCheckedEvent.cs
- HttpRawResponse.cs
- AuthenticationModulesSection.cs
- HelpInfo.cs
- ToolboxItemAttribute.cs
- RawStylusInput.cs
- _Connection.cs
- TemplateParser.cs
- DriveInfo.cs
- SourceFileInfo.cs
- SignatureHelper.cs
- TextElement.cs
- XsltSettings.cs
- DataRowChangeEvent.cs
- StubHelpers.cs
- StylusShape.cs
- AuthenticationManager.cs
- NaturalLanguageHyphenator.cs
- HighlightVisual.cs
- ButtonChrome.cs
- RotateTransform3D.cs
- ReadOnlyObservableCollection.cs
- EntityDataSourceConfigureObjectContext.cs
- CellTreeNodeVisitors.cs
- JsonByteArrayDataContract.cs
- ResourceWriter.cs
- MonikerHelper.cs
- RequiredAttributeAttribute.cs
- WSDualHttpBindingCollectionElement.cs
- SortKey.cs
- HashHelpers.cs
- ExceptionValidationRule.cs
- DBCommand.cs
- Process.cs
- contentDescriptor.cs
- hwndwrapper.cs
- WebBrowser.cs
- DataGridBoolColumn.cs
- SemaphoreFullException.cs
- DropTarget.cs
- SingleAnimation.cs
- BindingCollection.cs
- FlowDocumentScrollViewer.cs
- PagerSettings.cs
- ContainerVisual.cs
- OdbcReferenceCollection.cs
- DbConnectionPoolCounters.cs
- ToolStripSplitButton.cs
- GridLength.cs
- DeviceSpecificChoiceCollection.cs
- WindowsGraphicsWrapper.cs
- XmlSchemaSet.cs
- TypeLibraryHelper.cs
- XmlSchemaSequence.cs
- ProxyWebPartConnectionCollection.cs
- CompiledELinqQueryState.cs
- XmlProcessingInstruction.cs
- WebConfigurationManager.cs
- GroupBox.cs