Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Wmi / managed / System / Management / MgmtResManager.cs / 1305376 / MgmtResManager.cs
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
RC(){}
// 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);
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- MetabaseSettingsIis7.cs
- EventLogEntryCollection.cs
- TextCompositionEventArgs.cs
- RevocationPoint.cs
- CharacterBufferReference.cs
- KnownTypeDataContractResolver.cs
- SplineKeyFrames.cs
- PocoEntityKeyStrategy.cs
- LineServices.cs
- TextRangeProviderWrapper.cs
- HttpChannelHelper.cs
- RegistryPermission.cs
- SQLBinaryStorage.cs
- GenerateTemporaryTargetAssembly.cs
- SoapReflectionImporter.cs
- ReachDocumentReferenceSerializer.cs
- DbProviderConfigurationHandler.cs
- ScriptRegistrationManager.cs
- XPathSelfQuery.cs
- Visitors.cs
- BooleanStorage.cs
- FileLevelControlBuilderAttribute.cs
- MarginsConverter.cs
- GradientSpreadMethodValidation.cs
- RegexParser.cs
- WebPartHelpVerb.cs
- ControlBindingsCollection.cs
- StructuralCache.cs
- TreeChangeInfo.cs
- XmlUtf8RawTextWriter.cs
- ContentDisposition.cs
- WindowsListViewSubItem.cs
- Matrix3D.cs
- DocumentGrid.cs
- basecomparevalidator.cs
- ProgramPublisher.cs
- ImportOptions.cs
- __Filters.cs
- Models.cs
- AttributedMetaModel.cs
- SplashScreenNativeMethods.cs
- TextServicesDisplayAttributePropertyRanges.cs
- BitmapCacheBrush.cs
- SelectionRange.cs
- CannotUnloadAppDomainException.cs
- GeometryDrawing.cs
- EtwTrace.cs
- MSAAEventDispatcher.cs
- ObjectDataSourceStatusEventArgs.cs
- relpropertyhelper.cs
- Soap.cs
- HttpRequestWrapper.cs
- AccessKeyManager.cs
- EnumerableWrapperWeakToStrong.cs
- _BaseOverlappedAsyncResult.cs
- VarInfo.cs
- SecurityVerifiedMessage.cs
- LocalizationComments.cs
- StopStoryboard.cs
- Base64Decoder.cs
- AssertSection.cs
- FrameworkTemplate.cs
- InputProviderSite.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- FixedSOMTableCell.cs
- ClientSettings.cs
- ExecutionContext.cs
- LocalizationComments.cs
- AppDomainFactory.cs
- ListChunk.cs
- TableRow.cs
- ClientCredentialsElement.cs
- CharacterString.cs
- SendMailErrorEventArgs.cs
- BitmapEffectDrawingContextState.cs
- ISessionStateStore.cs
- AlphaSortedEnumConverter.cs
- Html32TextWriter.cs
- OdbcReferenceCollection.cs
- FixedSOMPageElement.cs
- VarRefManager.cs
- CompilationPass2TaskInternal.cs
- ListenerAdapterBase.cs
- ApplicationManager.cs
- MarkupExtensionParser.cs
- ContentFileHelper.cs
- SendOperation.cs
- GetWinFXPath.cs
- IpcChannel.cs
- ConnectionStringSettings.cs
- SeekableMessageNavigator.cs
- AudioFormatConverter.cs
- WindowsUpDown.cs
- FastPropertyAccessor.cs
- BufferedReceiveElement.cs
- ResXResourceWriter.cs
- MessageContractMemberAttribute.cs
- XmlStringTable.cs
- RuntimeHandles.cs
- WebPartVerbsEventArgs.cs