.net - How to call Assembly.Load(Bytes[]) in SL 4 app? -
i'm trying use assembly.load(byte[]) in silverlight 4 app , i'm getting methodaccessexception. far understand that's because app code transparent , method critical. there safecritical api load assembly byte array?
then want create instance of type (sl app doesn't have compile time reference it) inside dynamically loaded assembly , make instance current item datafrom control.
try this:-
assemblypart assemblypart = new assemblypart(); assemblypart.load(new memorystream(yourbytearray));
Comments
Post a Comment