Example #1
0
    public static void Main()
    {
        var webClient = new WebClient(new LanConnection());
        webClient.connect();
        webClient.send("google.com");

        var webClientWifi = new WebClient(new WiFiConnection());
        webClientWifi.connect();
        webClientWifi.send("google.com");
    }