Skip to content

Instantly share code, notes, and snippets.

@rolfbjarne
Created May 11, 2015 13:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rolfbjarne/3d1efa519eba2b6f8cf7 to your computer and use it in GitHub Desktop.
Save rolfbjarne/3d1efa519eba2b6f8cf7 to your computer and use it in GitHub Desktop.
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using Mono.Security;
class C {
static void Main ()
{
var a = typeof (ASN1).Assembly;
var t = a.GetType ("Mono.Security.Protocol.Tls.Handshake.HandshakeType");
Console.WriteLine (t);
System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor (t.TypeHandle);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment