예제 #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            hash ^= ServerServiceName.GetHashCode();
            hash ^= ClientServiceName.GetHashCode();
            return(hash);
        }
예제 #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ServerServiceName.Length != 0)
            {
                hash ^= ServerServiceName.GetHashCode();
            }
            if (ClientServiceName.Length != 0)
            {
                hash ^= ClientServiceName.GetHashCode();
            }
            return(hash);
        }
예제 #3
0
 public static int CallServerService(IntPtr nativeWinVideo, ServerServiceName serviceName)
 {
     return(callServices(nativeWinVideo, (int)serviceName));
 }
예제 #4
0
 public static int CallServerService(ServerServiceName serviceName)
 {
     return(callServices((int)serviceName));
 }