10 writes to access
System (10)
net\System\Net\mail\smtppermission.cs (10)
88
access
= SmtpAccess.ConnectToUnrestrictedPort;
92
access
= SmtpAccess.None;
98
access
= SmtpAccess.ConnectToUnrestrictedPort;
102
access
= SmtpAccess.None;
110
this.
access
= access;
122
this.
access
= access;
213
access
= SmtpAccess.ConnectToUnrestrictedPort;
222
access
= SmtpAccess.Connect;
225
access
= SmtpAccess.ConnectToUnrestrictedPort;
228
access
= SmtpAccess.None;
16 references to access
System (16)
net\System\Net\mail\smtppermission.cs (16)
115
return
access
;
121
if (access > this.
access
)
135
return new SmtpPermission(
access
);
152
return new SmtpPermission(this.
access
> other.
access
? this.
access
: other.
access
);
170
return new SmtpPermission(this.
access
< other.
access
? this.
access
: other.
access
);
177
return (
access
== SmtpAccess.None);
189
return (other.
access
>=
access
);
249
if (
access
== SmtpAccess.Connect) {
252
else if (
access
== SmtpAccess.ConnectToUnrestrictedPort) {