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)
107new SmtpPermission(SmtpAccess.Connect).Demand(); 110new SmtpPermission(SmtpAccess.ConnectToUnrestrictedPort).Demand(); 247new SmtpPermission(SmtpAccess.ConnectToUnrestrictedPort).Demand();
net\System\Net\mail\smtppermission.cs (8)
52perm = new SmtpPermission(PermissionState.Unrestricted); 55perm = new SmtpPermission(PermissionState.None); 133return new SmtpPermission(true); 135return new SmtpPermission(access); 149return new SmtpPermission(true); 152return new SmtpPermission(this.access > other.access ? this.access : other.access); 167return new SmtpPermission(true); 170return new SmtpPermission(this.access < other.access ? this.access : other.access);
7 references to SmtpPermission
System (7)
net\System\Net\mail\smtppermission.cs (7)
50SmtpPermission perm = null; 143SmtpPermission other = target as SmtpPermission; 161SmtpPermission other = target as SmtpPermission; 180SmtpPermission other = target as SmtpPermission;