示例#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);
        }
示例#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));
        }
示例#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);
        }
示例#4
0
        public void WolWithBadMacWillFail()
        {
            const string BAD_MAC = "00:00";

            ToolWol.ExecuteWol(Connection, BAD_MAC);
        }