RatioMaster_source.RM.GetRandCustVal C# (CSharp) Method

GetRandCustVal() private method

private GetRandCustVal ( ) : void
return void
        internal void GetRandCustVal()
        {
            string clientname = GetClientName();
            currentClient = TorrentClientFactory.GetClient(clientname);
            customKey.Text = currentClient.Key;
            customPeerID.Text = currentClient.PeerID;
            currentTorrent.port = rand.Next(1025, 65535).ToString();
            customPort.Text = currentTorrent.port;
            currentTorrent.numberOfPeers = currentClient.DefNumWant.ToString();
            customPeersNum.Text = currentTorrent.numberOfPeers;
            lblGenStatus.Text = "Generation status: " + "generated new values for " + clientname;
        }