mardi 24 septembre 2019

How to check if function execution is allowed in current context?

I use shared class in my project, so i want to check whether i can use Assemby.GetExecutingAssembly() without try/catch (big perfomance loss), because on one platform this method is not allowed, so i'm getting access exception
Access Exception: GetExecutingAssembly is not allowed in given context....





Aucun commentaire:

Enregistrer un commentaire