Beispiel #1
0
        public static bool piServerConnect(string serverName, string userName, string password)
        {
            int num = -1;

            return(PIBUtils.piServerConnectEx(serverName, userName, password, ref num) == 0 && num == 2);
        }