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