/// <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); }
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); }
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); }
public void VPN_DSICCanBeDisconnected() => ConnectionTests.CanBeDisconnected(VPN_DSIC);
public void VPN_UPVCanBeDisconnected() => ConnectionTests.CanBeDisconnected(VPN_UPV);
public void WDriveCanBeDisconnected() => ConnectionTests.CanBeDisconnected(WDrive);
public void DSICDriveCanBeDisconnected() => ConnectionTests.CanBeDisconnected(DSICDrive);