18 references to Accept
System (18)
net\System\Net\HttpListener.cs (1)
631
(new WebPermission(NetworkAccess.
Accept
, uriPrefix)).Demand();
net\System\Net\SocketPermission.cs (3)
134
access = NetworkAccess.
Accept
;
262
if ((access & NetworkAccess.
Accept
) != 0)
331
result.AddPermission(NetworkAccess.
Accept
, (EndpointPermission)m_acceptList[i]);
net\System\Net\Sockets\Socket.cs (1)
881
NetworkAccess.
Accept
,
net\System\Net\WebPermission.cs (13)
164
access |= NetworkAccess.
Accept
;
171
perm.AddAsPattern(NetworkAccess.
Accept
, (DelayedRegex)m_accept);
174
perm.AddPermission(NetworkAccess.
Accept
, (string)m_accept);
331
m_UnrestrictedAccept = (access & NetworkAccess.
Accept
) != 0;
390
if ((access & NetworkAccess.
Accept
) != 0 && !m_UnrestrictedAccept)
427
if ((access & NetworkAccess.
Accept
) != 0 && !m_UnrestrictedAccept)
469
if (!m_UnrestrictedAccept && (access & NetworkAccess.
Accept
) != 0)
489
if ((access & NetworkAccess.
Accept
) != 0 && !m_UnrestrictedAccept)
532
(m_UnrestrictedAccept ? NetworkAccess.
Accept
: (NetworkAccess)0));
703
result.AddPermission(NetworkAccess.
Accept
, (string)m_acceptList[i]);
705
result.AddPermission(NetworkAccess.
Accept
, (Uri)m_acceptList[i]);
707
result.AddAsPattern(NetworkAccess.
Accept
, uriPattern);
883
AddAsPattern(NetworkAccess.
Accept
, new DelayedRegex(uriPattern));