Refactor code.

This commit is contained in:
Christian Kratky
2018-11-17 20:24:23 +01:00
parent 5f18f35e02
commit 3e7b41e712
@@ -61,13 +61,7 @@ namespace MQTTnet.TestApp.NetCore
public class RandomPassword : IMqttClientCredentials
{
public string Password
{
get
{
return Guid.NewGuid().ToString(); // The random password.
}
}
public string Password => Guid.NewGuid().ToString();
public string Username => "the_static_user";
}