mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-26 16:24:10 +08:00
Added EndPoint RemoteEndPoint {get;} property to channel (#2111)
* Added EndPoint RemoteEndPoint{get;} property
* Reformat code
* Reformat code
---------
Co-authored-by: christian <6939810+chkr1011@users.noreply.github.com>
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
using System;
|
||||
using System.Net;
|
||||
using System.Security.Cryptography.X509Certificates;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
@@ -18,7 +19,8 @@ public interface IMqttChannelAdapter : IDisposable
|
||||
long BytesSent { get; }
|
||||
|
||||
X509Certificate2 ClientCertificate { get; }
|
||||
string Endpoint { get; }
|
||||
|
||||
EndPoint RemoteEndPoint { get; }
|
||||
|
||||
bool IsSecureConnection { get; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user