/// <summary> /// public method <c>Disconnect</c> attempts to disconnect the established MiraConnection instance and nullifies it. /// </summary> /// <returns>void.</returns> public void Disconnect() { if (Mira != null) { Mira.Disconnect(); Mira = null; } }
/// <summary> /// public method <c>Connect</c> attempts to connect a new MiraConnection instance attached to the console to the PS4. /// </summary> /// <returns>True if the connection was established, false otherwise.</returns> public bool Connect() { Mira = new MiraConnection(IP); return(Mira.Connect()); }