PeerCastStation.UI.PortMapperMonitor.RemovePortOnDevice C# (CSharp) Method

RemovePortOnDevice() private method

private RemovePortOnDevice ( NatDevice device, int port ) : void
device NatDevice
port int
return void
    private void RemovePortOnDevice(NatDevice device, int port)
    {
      device.UnmapAsync(MappingProtocol.TCP, port, cancelSource.Token);
      device.UnmapAsync(MappingProtocol.UDP, port, cancelSource.Token);
    }