private bool CheckForRedirectedClientType(String typeName, String asmName)
{
// if asmName has version information, remove it.
int index = asmName.IndexOf(",");
if (index != -1)
asmName = asmName.Substring(0, index);
return
(QueryRemoteActivate(typeName, asmName) != null) ||
(QueryConnect(typeName, asmName) != null);
} // CheckForRedirectedClientType