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
- XamlInt32CollectionSerializer.cs
- SynchronousChannel.cs
- DynamicDocumentPaginator.cs
- SQLBinaryStorage.cs
- FrameworkObject.cs
- Filter.cs
- CompareValidator.cs
- Lasso.cs
- sitestring.cs
- MaterialGroup.cs
- PropertyTabChangedEvent.cs
- ObjectCacheSettings.cs
- DataGridCellInfo.cs
- MenuAutoFormat.cs
- TypeTypeConverter.cs
- ReferencedAssembly.cs
- RegisteredDisposeScript.cs
- SQLByteStorage.cs
- UnionCodeGroup.cs
- ToolStripItemCollection.cs
- KeyValueInternalCollection.cs
- ListItemsCollectionEditor.cs
- XmlResolver.cs
- XmlNavigatorFilter.cs
- SortedDictionary.cs
- StylusDownEventArgs.cs
- RawUIStateInputReport.cs
- SearchForVirtualItemEventArgs.cs
- WebSysDefaultValueAttribute.cs
- PropertyFilter.cs
- ServiceManager.cs
- LicenseManager.cs
- XmlUtil.cs
- ToolStripArrowRenderEventArgs.cs
- CommandDevice.cs
- DataListItem.cs
- XPathScanner.cs
- SerializerProvider.cs
- Single.cs
- DirectionalLight.cs
- ModelUIElement3D.cs
- AssemblyInfo.cs
- DataGridViewCellStyleConverter.cs
- MoveSizeWinEventHandler.cs
- Range.cs
- DecoratedNameAttribute.cs
- WebUtil.cs
- StringComparer.cs
- NestPullup.cs
- XmlSchemaCompilationSettings.cs
- PickBranchDesigner.xaml.cs
- ProbeMatchesApril2005.cs
- FlowDocumentFormatter.cs
- DataSourceHelper.cs
- Animatable.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- DetailsViewRowCollection.cs
- ContentTextAutomationPeer.cs
- ClientEventManager.cs
- MsmqChannelFactoryBase.cs
- WinFormsSecurity.cs
- Package.cs
- HwndSubclass.cs
- LockRenewalTask.cs
- AuthenticationServiceManager.cs
- PseudoWebRequest.cs
- QueryPageSettingsEventArgs.cs
- ChannelServices.cs
- XmlCharCheckingWriter.cs
- WrappedKeySecurityToken.cs
- CodeAttachEventStatement.cs
- FamilyCollection.cs
- DbMetaDataFactory.cs
- DataFieldCollectionEditor.cs
- ListViewCommandEventArgs.cs
- GrammarBuilderBase.cs
- DatePicker.cs
- ResourceCategoryAttribute.cs
- WhitespaceSignificantCollectionAttribute.cs
- ZipFileInfo.cs
- StringAnimationBase.cs
- DeviceFiltersSection.cs
- PasswordRecovery.cs
- ListViewAutomationPeer.cs
- HierarchicalDataBoundControlAdapter.cs
- Asn1IntegerConverter.cs
- _CommandStream.cs
- RectAnimation.cs
- DesignerActionItem.cs
- MemberInfoSerializationHolder.cs
- DataGridViewSelectedRowCollection.cs
- TemplatePagerField.cs
- XmlMapping.cs
- ParameterBinding.cs
- BitmapEffectGeneralTransform.cs
- CommandID.cs
- CqlLexer.cs
- ServiceReference.cs
- userdatakeys.cs
- DivideByZeroException.cs