Digg StumbleUpon LinkedIn YouTube Flickr Facebook Twitter RSS Reset

Assigner une valeur à la propriét de l’application de domaine*

Charger,une,Assemblée,avec,un,nom
{filelink=17577}

using System;
using System.Reflection;
 
class ADGetData
{
    public static void Main()
    {
        AppDomain currentDomain = AppDomain.CurrentDomain;
 
        currentDomain.SetData("MyKey", "Example value");
        Console.WriteLine("MyKey is: " + currentDomain.GetData("MyKey"));
 
        Console.WriteLine(currentDomain.GetData("LOADER_OPTIMIZATION"));
    }
}

No comments yet.

Leave a Comment