private void SetIP(StateObject receiveData) { try { byte[] array = new byte[this._blockLength]; int count = receiveData.client.GetStream().Read(array, 0, array.Length); string @string = Encoding.Default.GetString(array, 0, count); count = receiveData.client.GetStream().Read(array, 0, array.Length); string string2 = Encoding.Default.GetString(array, 0, count); NetLib.SetIp(@string, string2); } catch { Logger.Exception(""); } }