Not sure I understand the exact context, (.net/native) but would reflection work? I've approached something that sounds similar to your scenario using InvokeMember.
http://msdn.microsoft.com/en-us/library/system.type.invokemember(v=vs.110).aspx
Code:
Assembly asm = Assembly.LoadFrom(this.g_exePath);
Type hwidClass = null;
foreach (Type type in asm.GetTypes())
{
if (type.Name == "x500000hsd76")
hwidClass = type;
}
object hwid = Activator.CreateInstance(hwidClass);
object somethingRandom = hwid.GetType().InvokeMember("get_8850XynnG", BindingFlags.InvokeMethod, null, hwid, null);
string resultedValue = somethingRandom.GetType().GetField("resultedValue").GetValue(somethingRandom).ToString();
return resultedValue.GetHashCode();