tidy up
This commit is contained in:
parent
a811f9dec5
commit
3038a037e1
@ -31,22 +31,9 @@ namespace CuipodExample
|
||||
return 1;
|
||||
}
|
||||
|
||||
string pass;
|
||||
if (pfxPassword != null)
|
||||
{
|
||||
pass = pfxPassword.Value.ToString();
|
||||
}
|
||||
else
|
||||
{
|
||||
pass = "";
|
||||
}
|
||||
|
||||
Console.WriteLine("pass: " + pass.ToString());
|
||||
Console.WriteLine("cert: " + certificateFile.Value.ToString());
|
||||
|
||||
var pass = (pfxPassword != null) ? pfxPassword.Value.ToString() : "";
|
||||
var cert = new X509Certificate2(certificateFile.Value.ToString(), pass);
|
||||
|
||||
|
||||
return AppMain(directoryToServe.Value, cert);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user