File: MgmtResManager.cs
Project: ndp\fx\src\wmi\managed\System\Management\System.Management.csproj (System.Management)
using System;
using System.Resources;
using System.Reflection;
using System.Globalization;
namespace System.Management
    internal sealed class RC
        // Private constructor to prevent instances of this class from being created
        // ResourceManager instance
        static readonly ResourceManager resMgr = new ResourceManager(Assembly.GetExecutingAssembly().GetName().Name ,Assembly.GetExecutingAssembly(),null);
        // Public method to get string from resources
        public static string GetString(string strToGet)
            return resMgr.GetString(strToGet,CultureInfo.CurrentCulture);