75 references to SR
System.Net.NetworkInformation (75)
System\Net\NetworkInformation\ExceptionHelper.Linux.cs (2)
10return new NetworkInformationException(SR.net_FailedToParseNetworkFile); 15return new NetworkInformationException(SR.net_InformationUnavailableOnPlatform);
System\Net\NetworkInformation\GatewayIPAddressInformationCollection.cs (3)
53throw new NotSupportedException(SR.net_collection_readonly); 78throw new NotSupportedException(SR.net_collection_readonly); 83throw new NotSupportedException(SR.net_collection_readonly);
System\Net\NetworkInformation\InternalIPAddressCollection.cs (1)
45throw new NotSupportedException(SR.net_collection_readonly);
System\Net\NetworkInformation\IPAddressInformationCollection.cs (3)
39throw new NotSupportedException(SR.net_collection_readonly); 72throw new NotSupportedException(SR.net_collection_readonly); 77throw new NotSupportedException(SR.net_collection_readonly);
System\Net\NetworkInformation\IPGlobalProperties.cs (4)
70throw NotImplemented.ByDesignWithMessage(SR.net_MethodNotImplementedException); 75throw NotImplemented.ByDesignWithMessage(SR.net_MethodNotImplementedException); 118throw NotImplemented.ByDesignWithMessage(SR.net_MethodNotImplementedException); 127throw NotImplemented.ByDesignWithMessage(SR.net_MethodNotImplementedException);
System\Net\NetworkInformation\IPv6InterfaceProperties.cs (1)
34throw NotImplemented.ByDesignWithMessage(SR.net_MethodNotImplementedException);
System\Net\NetworkInformation\LinuxIPAddressInformation.cs (2)
20public override bool IsDnsEligible { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } } 23public override bool IsTransient { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } }
System\Net\NetworkInformation\LinuxIPGlobalStatistics.cs (1)
61public override long OutputPacketRoutingDiscards { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } }
System\Net\NetworkInformation\LinuxIPInterfaceProperties.cs (2)
33public override bool IsDynamicDnsEnabled { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } } 36public override IPAddressInformationCollection AnycastAddresses { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } }
System\Net\NetworkInformation\LinuxIPInterfaceStatistics.cs (2)
40public override long IncomingUnknownProtocolPackets { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } } 45public override long NonUnicastPacketsSent { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } }
System\Net\NetworkInformation\LinuxIPv4InterfaceProperties.cs (3)
22public override bool IsAutomaticPrivateAddressingActive { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } } 25public override bool IsAutomaticPrivateAddressingEnabled { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } } 28public override bool IsDhcpEnabled { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } }
System\Net\NetworkInformation\LinuxTcpStatistics.cs (6)
23public override long ConnectionsAccepted { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } } 26public override long ConnectionsInitiated { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } } 29public override long CumulativeConnections { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } } 40public override long MaximumTransmissionTimeout { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } } 43public override long MinimumTransmissionTimeout { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } } 48public override long ResetsSent { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } }
System\Net\NetworkInformation\LinuxUdpStatistics.cs (1)
33public override long IncomingDatagramsDiscarded { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } }
System\Net\NetworkInformation\MulticastIPAddressInformationCollection.cs (3)
39throw new NotSupportedException(SR.net_collection_readonly); 72throw new NotSupportedException(SR.net_collection_readonly); 77throw new NotSupportedException(SR.net_collection_readonly);
System\Net\NetworkInformation\NetworkInterface.cs (13)
52public virtual string Id { get { throw NotImplemented.ByDesignWithMessage(SR.net_PropertyNotImplementedException); } } 57public virtual string Name { get { throw NotImplemented.ByDesignWithMessage(SR.net_PropertyNotImplementedException); } } 62public virtual string Description { get { throw NotImplemented.ByDesignWithMessage(SR.net_PropertyNotImplementedException); } } 70throw NotImplemented.ByDesignWithMessage(SR.net_MethodNotImplementedException); 80throw NotImplemented.ByDesignWithMessage(SR.net_MethodNotImplementedException); 92throw NotImplemented.ByDesignWithMessage(SR.net_MethodNotImplementedException); 98public virtual OperationalStatus OperationalStatus { get { throw NotImplemented.ByDesignWithMessage(SR.net_PropertyNotImplementedException); } } 103public virtual long Speed { get { throw NotImplemented.ByDesignWithMessage(SR.net_PropertyNotImplementedException); } } 108public virtual bool IsReceiveOnly { get { throw NotImplemented.ByDesignWithMessage(SR.net_PropertyNotImplementedException); } } 113public virtual bool SupportsMulticast { get { throw NotImplemented.ByDesignWithMessage(SR.net_PropertyNotImplementedException); } } 121throw NotImplemented.ByDesignWithMessage(SR.net_MethodNotImplementedException); 127public virtual NetworkInterfaceType NetworkInterfaceType { get { throw NotImplemented.ByDesignWithMessage(SR.net_PropertyNotImplementedException); } } 131throw NotImplemented.ByDesignWithMessage(SR.net_MethodNotImplementedException);
System\Net\NetworkInformation\NetworkInterfacePal.Linux.cs (1)
47throw new NetworkInformationException(SR.net_NoLoopback);
System\Net\NetworkInformation\PhysicalAddress.cs (2)
81throw new FormatException(SR.Format(SR.net_bad_mac_address, new string(address)));
System\Net\NetworkInformation\StringParsingHelpers.Misc.cs (1)
59return new NetworkInformationException(SR.net_PInvokeError, inner);
System\Net\NetworkInformation\UnicastIPAddressInformation.cs (1)
60throw NotImplemented.ByDesignWithMessage(SR.net_PropertyNotImplementedException);
System\Net\NetworkInformation\UnicastIPAddressInformationCollection.cs (3)
40throw new NotSupportedException(SR.net_collection_readonly); 73throw new NotSupportedException(SR.net_collection_readonly); 78throw new NotSupportedException(SR.net_collection_readonly);
System\Net\NetworkInformation\UnixIPGlobalProperties.cs (3)
24public override string DhcpScopeName { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } } 39public override bool IsWinsProxy { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } } 118throw new NetworkInformationException(SR.net_PInvokeError, new AggregateException(context._exceptions));
System\Net\NetworkInformation\UnixIPInterfaceProperties.cs (1)
49throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform);
System\Net\NetworkInformation\UnixMulticastIPAddressInformation.cs (8)
27public override bool IsDnsEligible { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } } 37public override bool IsTransient { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } } 47public override long AddressPreferredLifetime { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } } 57public override long AddressValidLifetime { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } } 67public override long DhcpLeaseLifetime { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } } 77public override DuplicateAddressDetectionState DuplicateAddressDetectionState { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } } 87public override PrefixOrigin PrefixOrigin { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } } 97public override SuffixOrigin SuffixOrigin { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } }
System\Net\NetworkInformation\UnixUnicastIPAddressInformation.cs (8)
32public override bool IsDnsEligible { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } } 43public override bool IsTransient { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } } 54public override long AddressPreferredLifetime { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } } 65public override long AddressValidLifetime { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } } 76public override long DhcpLeaseLifetime { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } } 87public override DuplicateAddressDetectionState DuplicateAddressDetectionState { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } } 98public override PrefixOrigin PrefixOrigin { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } } 109public override SuffixOrigin SuffixOrigin { get { throw new PlatformNotSupportedException(SR.net_InformationUnavailableOnPlatform); } }