Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Net / System / Net / NetworkInformation / SystemIPv6InterfaceProperties.cs / 1305376 / 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
- ImageCodecInfo.cs
- PointConverter.cs
- StateMachine.cs
- DrawTreeNodeEventArgs.cs
- StreamHelper.cs
- recordstatescratchpad.cs
- Sql8ExpressionRewriter.cs
- QueryResponse.cs
- AutomationAttributeInfo.cs
- ProfilePropertySettings.cs
- DataBoundLiteralControl.cs
- GenericUriParser.cs
- TextBounds.cs
- MgmtConfigurationRecord.cs
- CurrentChangingEventManager.cs
- ProtocolElement.cs
- CheckedListBox.cs
- SpeakCompletedEventArgs.cs
- SchemaManager.cs
- WindowsTreeView.cs
- RunClient.cs
- Console.cs
- GregorianCalendar.cs
- UrlPath.cs
- GrammarBuilderWildcard.cs
- SafeIUnknown.cs
- SqlUtils.cs
- GenericsNotImplementedException.cs
- PathGeometry.cs
- XPathDocument.cs
- WorkflowViewManager.cs
- ConstructorNeedsTagAttribute.cs
- JpegBitmapEncoder.cs
- BmpBitmapEncoder.cs
- PeerNameRecord.cs
- AlignmentXValidation.cs
- QueueAccessMode.cs
- WhitespaceSignificantCollectionAttribute.cs
- ManagementEventArgs.cs
- SkipQueryOptionExpression.cs
- SchemaName.cs
- StringSource.cs
- SelectorAutomationPeer.cs
- DecimalAnimation.cs
- UpDownEvent.cs
- DataExpression.cs
- Publisher.cs
- RadioButtonBaseAdapter.cs
- DocumentPage.cs
- HyperLinkField.cs
- ExpressionVisitor.cs
- OleServicesContext.cs
- ContainerAction.cs
- DPTypeDescriptorContext.cs
- TextFormatterContext.cs
- QueryAsyncResult.cs
- CssStyleCollection.cs
- PrivilegeNotHeldException.cs
- XmlTextWriter.cs
- StateMachineTimers.cs
- DBSqlParser.cs
- AuthenticationSection.cs
- Run.cs
- DockAndAnchorLayout.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- JsonReaderWriterFactory.cs
- WindowsPrincipal.cs
- CheckBox.cs
- RuntimeWrappedException.cs
- SettingsContext.cs
- SimpleLine.cs
- RewritingPass.cs
- AssemblyInfo.cs
- NoPersistProperty.cs
- TemplateKeyConverter.cs
- PropertyCondition.cs
- NullableDoubleSumAggregationOperator.cs
- WasAdminWrapper.cs
- UIElement.cs
- CodeDomExtensionMethods.cs
- DataGridTableStyleMappingNameEditor.cs
- FormatConvertedBitmap.cs
- RelatedImageListAttribute.cs
- WebPartUtil.cs
- CompositeDesignerAccessibleObject.cs
- ErrorProvider.cs
- ComponentResourceKeyConverter.cs
- DataControlButton.cs
- WebPartCloseVerb.cs
- SecurityTokenTypes.cs
- EdmValidator.cs
- DBNull.cs
- _StreamFramer.cs
- StoreItemCollection.cs
- XamlToRtfWriter.cs
- SqlDataSourceStatusEventArgs.cs
- TableLayoutSettingsTypeConverter.cs
- CodeCatchClauseCollection.cs
- EdmProviderManifest.cs
- TreeNodeClickEventArgs.cs