Пример #1
0
        private bool IServiceProviderValid(Guid provider)
        {
            ServiceProviderInformation[] providers =
                connection.GetServiceProviders(true);

            foreach (ServiceProviderInformation info in providers)
            {
                if (info.Guid == provider)
                {
                    return(true);
                }
            }
            return(false);
        }