mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-21 04:03:05 +08:00
Remove dedicated UWP builds and code.
This commit is contained in:
@@ -653,18 +653,7 @@ namespace MQTTnet.TestApp.UniversalWindows
|
||||
}
|
||||
|
||||
// ----------------------------------
|
||||
|
||||
// For UWP apps:
|
||||
MqttTcpChannel.CustomIgnorableServerCertificateErrorsResolver = o =>
|
||||
{
|
||||
if (o.Server == "server_with_revoked_cert")
|
||||
{
|
||||
return new[] { ChainValidationResult.Revoked };
|
||||
}
|
||||
|
||||
return new ChainValidationResult[0];
|
||||
};
|
||||
|
||||
|
||||
{
|
||||
// Start a MQTT server.
|
||||
var mqttServer = new MqttFactory().CreateMqttServer();
|
||||
|
||||
Reference in New Issue
Block a user