namespace EC.Onvif.RemoteDiscovery { public static class Constants { public static string WS_MULTICAST_ADDRESS { get; } = "239.255.255.250"; public static int WS_MULTICAST_PORT { get; } = 3702; public static string WS_PROBE_MESSAGE { get; } = "" + "" + "" + "uuid:{0}" + "urn:schemas-xmlsoap-org:ws:2005:04:discovery " + "http://schemas.xmlsoap.org/ws/2005/04/discovery/Probe" + "" + "" + "dn:NetworkVideoTransmitter" + "" + ""; public static string PATTERN { get; } = @"^((onvif[s]?|ftp):\/)?\/?([^:\/\s]+)((\/\w+)*\/)([\w\-\.]+[^#?\s]+)(.*)?(#[\w\-]+)?$"; } }