13 instantiations of NetworkInformationPermission
System (13)
net\System\Net\NetworkInformation\IPGlobalProperties.cs (1)
16
(new
NetworkInformationPermission
(NetworkInformationAccess.Read)).Demand();
net\System\Net\NetworkInformation\NetworkInformationPermission.cs (8)
49
perm = new
NetworkInformationPermission
(PermissionState.Unrestricted);
52
perm = new
NetworkInformationPermission
(PermissionState.None);
123
return new
NetworkInformationPermission
(true);
125
return new
NetworkInformationPermission
(access);
138
return new
NetworkInformationPermission
(true);
141
return new
NetworkInformationPermission
(this.access | other.access);
155
return new
NetworkInformationPermission
(true);
158
return new
NetworkInformationPermission
(access & other.access);
net\System\Net\NetworkInformation\NetworkInterface.cs (1)
11
(new
NetworkInformationPermission
(NetworkInformationAccess.Read)).Demand();
net\System\Net\NetworkInformation\ping.cs (3)
345
(new
NetworkInformationPermission
(NetworkInformationAccess.Ping)).Demand();
478
(new
NetworkInformationPermission
(NetworkInformationAccess.Ping)).Demand();
610
(new
NetworkInformationPermission
(NetworkInformationAccess.Ping)).Demand();
7 references to NetworkInformationPermission
System (7)
net\System\Net\NetworkInformation\NetworkInformationPermission.cs (7)
47
NetworkInformationPermission
perm = null;
132
NetworkInformationPermission
other = target as
NetworkInformationPermission
;
149
NetworkInformationPermission
other = target as
NetworkInformationPermission
;
167
NetworkInformationPermission
other = target as
NetworkInformationPermission
;