15 references to IPProtectionLevel
System (15)
net\System\Net\Configuration\SettingsSection.cs (2)
289
internal
IPProtectionLevel
IPProtectionLevel
366
IPProtectionLevel
ipProtectionLevel;
net\System\Net\Configuration\SocketElement.cs (5)
55
[ConfigurationProperty(ConfigurationStrings.IPProtectionLevel, DefaultValue =
IPProtectionLevel
.Unspecified)]
56
public
IPProtectionLevel
IPProtectionLevel
58
get { return (
IPProtectionLevel
)this[this.ipProtectionLevel]; }
81
new ConfigurationProperty(ConfigurationStrings.IPProtectionLevel, typeof(
IPProtectionLevel
),
82
IPProtectionLevel
.Unspecified, ConfigurationPropertyOptions.None);
net\System\Net\Sockets\Socket.cs (4)
161
IPProtectionLevel
defaultProtectionLevel = SettingsSectionInternal.Section.IPProtectionLevel;
162
if (defaultProtectionLevel !=
IPProtectionLevel
.Unspecified) {
2279
public void SetIPProtectionLevel(
IPProtectionLevel
level) {
2280
if (level ==
IPProtectionLevel
.Unspecified) {
net\System\Net\Sockets\TCPListener.cs (2)
151
m_ServerSocket.SetIPProtectionLevel(
IPProtectionLevel
.Unrestricted);
154
m_ServerSocket.SetIPProtectionLevel(
IPProtectionLevel
.EdgeRestricted);
net\System\Net\Sockets\UDPClient.cs (2)
249
m_ClientSocket.SetIPProtectionLevel(
IPProtectionLevel
.Unrestricted);
252
m_ClientSocket.SetIPProtectionLevel(
IPProtectionLevel
.EdgeRestricted);