System.Runtime.Remoting.RemotingServices.GetServerTypeForUri C# (CSharp) Method

GetServerTypeForUri() private method

private GetServerTypeForUri ( String URI ) : Type
URI String
return System.Type
        public static Type GetServerTypeForUri(String URI)
        {            
            Type svrType = null;

            if(null != URI)
            {
                ServerIdentity srvID = (ServerIdentity)IdentityHolder.ResolveIdentity(URI);

                if(null == srvID)
                {
                    // Check if this a well-known object which needs to be faulted in
                    svrType = RemotingConfigHandler.GetServerTypeForUri(URI);                
                }
                else
                {
                    svrType = srvID.ServerType;
                }
            }

            return svrType;
        }
RemotingServices