2
Vote

VirtualRouterService

description

Hi Chris, yours app pretty good, but I’ve find some bugs/problem.

As I can understand, Service returns wrong value. See examples below.

1. None --> Ethernet

Start Service.
Start hotspot with “None” Shared Connection.
Stop hotspot. All OK.
Start hotspot with “Ethernet” Shared Connection.
Stop hotspot. All OK.

Start hotspot with “None” Shared Connection.
And here, item "Shared Connection" changing to “Ethernet”.
(but it only visual changes, nothing happened with started hotspot)

Here (debug) (VirtualRouterClient.WindowMain)
private void RefreshSharableConnectionsDisplay()
{
...
var sharedConn = myApp.VirtualRouter.GetSharedConnection();
if (sharedConn != null)
       {
        selectedId = sharedConn.Guid;
       }
...
}
‘selectedId’ value get “Ethernet”, and I don’t know why.
Restart service fixed this problem, till the repeat of the above steps.


2. Peers Connection
"Peers Connected" show connected device (but of course no device are connected)

Here (debug) (VirtualRouterClient.WindowMain)
private void UpdateDisplay()
{
...

if (myApp.IsVirtualRouterServiceConnected)
{
//panelConnections.Children.Clear();
              var peers = myApp.VirtualRouter.GetConnectedPeers();
groupBoxPeersConnected.Header = "Peers Connected (" + peers.Count().ToString() + ")"; ... }
...
}
‘peers’ get wrong information from Service.


And one question, will window style change in future? (closer to the Window10 style)

Sorry for the mistakes.

comments