Exemple #1
0
        protected NetworkInterface[] BackupInterfaces()
        {
            BackupConnection();

            NetworkInterface[] interfaces = GetNetworkInterfaces(Test);

            Test.Assert(interfaces != null && interfaces.Length > 0,
                        "No interfaces returned from the DUT",
                        "Check that the DUT returned current interfaces");

            return(interfaces);
        }