68                DisplayName = 
"TLS handshakes completed",
 
   76                DisplayName = 
"Total TLS handshakes completed" 
   83                DisplayName = 
"Current TLS handshakes" 
   90                DisplayName = 
"Total TLS handshakes failed" 
   97                DisplayName = 
"All TLS Sessions Active" 
  104                DisplayName = 
"TLS 1.0 Sessions Active" 
  111                DisplayName = 
"TLS 1.1 Sessions Active" 
  118                DisplayName = 
"TLS 1.2 Sessions Active" 
  125                DisplayName = 
"TLS 1.3 Sessions Active" 
  132                DisplayName = 
"TLS Handshake Duration",
 
  140                DisplayName = 
"TLS 1.0 Handshake Duration",
 
  148                DisplayName = 
"TLS 1.1 Handshake Duration",
 
  156                DisplayName = 
"TLS 1.2 Handshake Duration",
 
  164                DisplayName = 
"TLS 1.3 Handshake Duration",
 
 
  190    private void HandshakeFailed(
bool isServer, 
double elapsedMilliseconds, 
string exceptionMessage)
 
  192        WriteEvent(3, isServer, elapsedMilliseconds, exceptionMessage);
 
 
  212        ref 
long location = ref num;
 
  238        double totalMilliseconds = stopwatch.
GetElapsedTime().TotalMilliseconds;
 
 
  266    [UnconditionalSuppressMessage(
"ReflectionAnalysis", 
"IL2026:UnrecognizedReflectionPattern", Justification = 
"Parameters to this method are primitive and are trimmer safe")]
 
  268    private unsafe 
void WriteEvent(
int eventId, 
bool arg1, 
string arg2)
 
  276            fixed (
char* ptr2 = arg2)
 
  281                    DataPointer = (
IntPtr)(&arg1),
 
  286                    DataPointer = (
IntPtr)ptr2,
 
  287                    Size = (arg2.Length + 1) * 2
 
 
  294    [UnconditionalSuppressMessage(
"ReflectionAnalysis", 
"IL2026:UnrecognizedReflectionPattern", Justification = 
"Parameters to this method are primitive and are trimmer safe")]
 
  301            eventData.DataPointer = (
IntPtr)(&arg1);
 
 
  308    [UnconditionalSuppressMessage(
"ReflectionAnalysis", 
"IL2026:UnrecognizedReflectionPattern", Justification = 
"Parameters to this method are primitive and are trimmer safe")]
 
  310    private unsafe 
void WriteEvent(
int eventId, 
bool arg1, 
double arg2, 
string arg3)
 
  318            fixed (
char* ptr2 = arg3)
 
  323                    DataPointer = (
IntPtr)(&arg1),
 
  328                    DataPointer = (
IntPtr)(&arg2),
 
  333                    DataPointer = (
IntPtr)ptr2,
 
  334                    Size = (arg3.Length + 1) * 2
 
 
 
void WriteMetric(float value)
 
unsafe void WriteEventCore(int eventId, int eventDataCount, EventData *data)
 
void HandshakeFailed(bool isServer, double elapsedMilliseconds, string exceptionMessage)
 
EventCounter _handshakeDurationCounter
 
unsafe void WriteEvent(int eventId, SslProtocols arg1)
 
PollingCounter _sessionsOpenCounter
 
IncrementingPollingCounter _tlsHandshakeRateCounter
 
void HandshakeCompleted(SslProtocols protocol, ValueStopwatch stopwatch, bool connectionOpen)
 
EventCounter _handshakeDurationTls13Counter
 
void HandshakeStart(bool isServer, string targetHost)
 
unsafe void WriteEvent(int eventId, bool arg1, string arg2)
 
void HandshakeFailed(bool isServer, ValueStopwatch stopwatch, string exceptionMessage)
 
PollingCounter _currentTlsHandshakesCounter
 
long _startedTlsHandshakes
 
void HandshakeStop(SslProtocols protocol)
 
PollingCounter _sessionsOpenTls12Counter
 
EventCounter _handshakeDurationTls10Counter
 
PollingCounter _sessionsOpenTls13Counter
 
EventCounter _handshakeDurationTls11Counter
 
PollingCounter _totalTlsHandshakesCounter
 
long _finishedTlsHandshakes
 
PollingCounter _failedTlsHandshakesCounter
 
PollingCounter _sessionsOpenTls10Counter
 
long _failedTlsHandshakes
 
PollingCounter _sessionsOpenTls11Counter
 
EventCounter _handshakeDurationTls12Counter
 
unsafe void WriteEvent(int eventId, bool arg1, double arg2, string arg3)
 
override void OnEventCommand(EventCommandEventArgs command)
 
static readonly NetSecurityTelemetry Log
 
void ConnectionClosed(SslProtocols protocol)
 
static int Decrement(ref int location)
 
static long Read(ref long location)
 
static int Increment(ref int location)
 
TimeSpan GetElapsedTime()
 
static TimeSpan FromSeconds(double value)