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
- WindowsSolidBrush.cs
- MediaContextNotificationWindow.cs
- DropDownList.cs
- DBSqlParserTable.cs
- FunctionMappingTranslator.cs
- ReadWriteSpinLock.cs
- IdentitySection.cs
- PropertyIDSet.cs
- OleDbErrorCollection.cs
- SerialErrors.cs
- SqlTrackingService.cs
- UniqueEventHelper.cs
- GenericRootAutomationPeer.cs
- EncodingInfo.cs
- TimeZone.cs
- XmlDataSource.cs
- Rfc2898DeriveBytes.cs
- PerfService.cs
- SecureUICommand.cs
- ThicknessAnimationUsingKeyFrames.cs
- ColumnMapVisitor.cs
- GiveFeedbackEventArgs.cs
- WebProxyScriptElement.cs
- GetWinFXPath.cs
- Section.cs
- IisTraceListener.cs
- XmlIncludeAttribute.cs
- WaitForChangedResult.cs
- UrlMapping.cs
- ToolstripProfessionalRenderer.cs
- StringValidator.cs
- TableAutomationPeer.cs
- Configuration.cs
- MediaCommands.cs
- Mappings.cs
- SqlDependency.cs
- SynchronizationHandlesCodeDomSerializer.cs
- CombinedGeometry.cs
- RowCache.cs
- CommandBinding.cs
- Calendar.cs
- Win32Native.cs
- CircleHotSpot.cs
- MultiBindingExpression.cs
- COAUTHIDENTITY.cs
- ValidationHelpers.cs
- RoleGroup.cs
- XmlAtomicValue.cs
- QueueException.cs
- MouseActionConverter.cs
- HtmlElementErrorEventArgs.cs
- DataPager.cs
- GridViewUpdateEventArgs.cs
- DllHostedComPlusServiceHost.cs
- WinFormsComponentEditor.cs
- ParameterBuilder.cs
- TextTreeTextElementNode.cs
- OutOfProcStateClientManager.cs
- MatrixTransform.cs
- PeerNameRecordCollection.cs
- DecodeHelper.cs
- UdpUtility.cs
- OperandQuery.cs
- MatcherBuilder.cs
- DataViewSetting.cs
- FileStream.cs
- RuleSettingsCollection.cs
- BindToObject.cs
- DiagnosticTraceRecords.cs
- PackageProperties.cs
- SharedStatics.cs
- SizeFConverter.cs
- QilFunction.cs
- FormClosingEvent.cs
- RequestCacheValidator.cs
- Base64Decoder.cs
- ImageSource.cs
- ImageButton.cs
- NetNamedPipeSecurityElement.cs
- DefaultValidator.cs
- StrokeIntersection.cs
- SmtpTransport.cs
- ObjectParameter.cs
- TypeLoadException.cs
- SamlAuthorizationDecisionClaimResource.cs
- WebPartConnectionsCancelEventArgs.cs
- CompensationHandlingFilter.cs
- AdornerDecorator.cs
- LinkTarget.cs
- MDIClient.cs
- DataViewManagerListItemTypeDescriptor.cs
- ValueTypeFixupInfo.cs
- Icon.cs
- DataGridViewColumnConverter.cs
- X509RawDataKeyIdentifierClause.cs
- TransformCollection.cs
- HttpModulesInstallComponent.cs
- GetIndexBinder.cs
- ProcessDesigner.cs
- Odbc32.cs