12 instantiations of SmtpPermission
System (12)
net\System\Net\Configuration\SmtpNetworkElement.cs (1)
43
(new
SmtpPermission
(SmtpAccess.ConnectToUnrestrictedPort)).Demand();
net\System\Net\mail\SmtpClient.cs (3)
107
new
SmtpPermission
(SmtpAccess.Connect).Demand();
110
new
SmtpPermission
(SmtpAccess.ConnectToUnrestrictedPort).Demand();
247
new
SmtpPermission
(SmtpAccess.ConnectToUnrestrictedPort).Demand();
net\System\Net\mail\smtppermission.cs (8)
52
perm = new
SmtpPermission
(PermissionState.Unrestricted);
55
perm = new
SmtpPermission
(PermissionState.None);
133
return new
SmtpPermission
(true);
135
return new
SmtpPermission
(access);
149
return new
SmtpPermission
(true);
152
return new
SmtpPermission
(this.access > other.access ? this.access : other.access);
167
return new
SmtpPermission
(true);
170
return new
SmtpPermission
(this.access < other.access ? this.access : other.access);
7 references to SmtpPermission
System (7)
net\System\Net\mail\smtppermission.cs (7)
50
SmtpPermission
perm = null;
143
SmtpPermission
other = target as
SmtpPermission
;
161
SmtpPermission
other = target as
SmtpPermission
;
180
SmtpPermission
other = target as
SmtpPermission
;