Exemplo n.º 1
0
        public void WolWithInvalidInterfaceWillFail()
        {
            const string OK_MAC    = "FF:FF:FF:FF:FF:FF";
            const string BAD_IFACE = "kjdshfkjdhfkjdaskjfhs";

            ToolWol.ExecuteWol(Connection, new MacAddress(OK_MAC), BAD_IFACE);
        }
Exemplo n.º 2
0
        public void WolWillNotFail()
        {
            //const string OK_MAC = "FF:FF:FF:FF:FF:FF"; //
            const string OK_MAC = "00:11:32:71:AD:AD";

            ToolWol.ExecuteWol(Connection, new MacAddress(OK_MAC));
        }
Exemplo n.º 3
0
        public void WolWithOkIfaceWillNotFail()
        {
            const string OK_MAC   = "FF:FF:FF:FF:FF:FF";
            const string OK_IFACE = "ether1";

            ToolWol.ExecuteWol(Connection, new MacAddress(OK_MAC), OK_IFACE);
        }
Exemplo n.º 4
0
        public void WolWithBadMacWillFail()
        {
            const string BAD_MAC = "00:00";

            ToolWol.ExecuteWol(Connection, BAD_MAC);
        }