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)
134access = NetworkAccess.Accept; 262if ((access & NetworkAccess.Accept) != 0) 331result.AddPermission(NetworkAccess.Accept, (EndpointPermission)m_acceptList[i]);
net\System\Net\Sockets\Socket.cs (1)
881NetworkAccess.Accept,
net\System\Net\WebPermission.cs (13)
164access |= NetworkAccess.Accept; 171perm.AddAsPattern(NetworkAccess.Accept, (DelayedRegex)m_accept); 174perm.AddPermission(NetworkAccess.Accept, (string)m_accept); 331m_UnrestrictedAccept = (access & NetworkAccess.Accept) != 0; 390if ((access & NetworkAccess.Accept) != 0 && !m_UnrestrictedAccept) 427if ((access & NetworkAccess.Accept) != 0 && !m_UnrestrictedAccept) 469if (!m_UnrestrictedAccept && (access & NetworkAccess.Accept) != 0) 489if ((access & NetworkAccess.Accept) != 0 && !m_UnrestrictedAccept) 532(m_UnrestrictedAccept ? NetworkAccess.Accept : (NetworkAccess)0)); 703result.AddPermission(NetworkAccess.Accept, (string)m_acceptList[i]); 705result.AddPermission(NetworkAccess.Accept, (Uri)m_acceptList[i]); 707result.AddAsPattern(NetworkAccess.Accept, uriPattern); 883AddAsPattern(NetworkAccess.Accept, new DelayedRegex(uriPattern));