Example #1
0
 /// <summary>
 /// Constructor for creating Multicast / Broadcast messages.
 /// </summary>
 public Message(int port)
 {
     server                 = "MDMulti";
     protocolVersion        = Rest.ProtocolVersion;
     escapedApplicationName = EscapeHelper.Escape(Mono.Options.Instance.appName);
     ip        = ConnectionTests.GetLANIP().ToString();
     this.port = port;
     UnityEngine.Debug.Log("MPORT: " + port);
 }
Example #2
0
        public void VPN_DSICCanBeConnected()
        {
            // Arrange
            IAccesoUPVService service = new AccesoUPVService();
            VPN vpn = service.VPN_DSIC;

            vpn.SetNameAuto();
            // Keep to disconnect in further testing
            VPN_DSIC = vpn;
            // Act and Assert
            ConnectionTests.CanBeConnected(vpn);
        }
Example #3
0
        public void WDriveCanBeConnected()
        {
            // Arrange
            IAccesoUPVService service = new AccesoUPVService();
            NetworkDrive      drive   = service.Disco_W;

            drive.Username = SharedData.Username;
            // Keep to disconnect in further testing
            WDrive = drive;
            // Act and Assert
            ConnectionTests.CanBeConnected(drive);
        }
Example #4
0
 public void VPN_DSICCanBeDisconnected()
 => ConnectionTests.CanBeDisconnected(VPN_DSIC);
Example #5
0
 public void VPN_UPVCanBeDisconnected()
 => ConnectionTests.CanBeDisconnected(VPN_UPV);
Example #6
0
 public void WDriveCanBeDisconnected()
 => ConnectionTests.CanBeDisconnected(WDrive);
Example #7
0
 public void DSICDriveCanBeDisconnected()
 => ConnectionTests.CanBeDisconnected(DSICDrive);