Code:
/ 4.0 / 4.0 / 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.
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
- mactripleDES.cs
- SourceFilter.cs
- PropertyGrid.cs
- DBCommand.cs
- LogicalExpressionEditor.cs
- Utils.cs
- CryptoApi.cs
- SQlBooleanStorage.cs
- ToolStripDropDown.cs
- File.cs
- ThicknessKeyFrameCollection.cs
- StateItem.cs
- FileVersion.cs
- DelimitedListTraceListener.cs
- LocatorManager.cs
- DiscoveryOperationContext.cs
- ColorTranslator.cs
- SHA384Managed.cs
- GeometryConverter.cs
- BindingList.cs
- StackSpiller.Temps.cs
- ViewGenResults.cs
- DataBindingExpressionBuilder.cs
- QueryAccessibilityHelpEvent.cs
- XamlDesignerSerializationManager.cs
- XmlException.cs
- BitmapFrame.cs
- ProfilePropertyNameValidator.cs
- TextRenderer.cs
- ManipulationStartingEventArgs.cs
- DBConnectionString.cs
- CodeDefaultValueExpression.cs
- InternalSafeNativeMethods.cs
- HtmlInputFile.cs
- SqlCommandSet.cs
- ActionNotSupportedException.cs
- SendDesigner.xaml.cs
- SortDescriptionCollection.cs
- TableRowCollection.cs
- DateTimeOffsetAdapter.cs
- SHA384CryptoServiceProvider.cs
- MaterialCollection.cs
- XPathSingletonIterator.cs
- CodeDesigner.cs
- complextypematerializer.cs
- ArcSegment.cs
- SourceFileBuildProvider.cs
- LocalValueEnumerator.cs
- TreeNode.cs
- LinkTarget.cs
- ControlEvent.cs
- ConditionalAttribute.cs
- PrinterSettings.cs
- PermissionListSet.cs
- DataGridViewColumnEventArgs.cs
- HeaderedItemsControl.cs
- WebPartZoneCollection.cs
- ReadWriteObjectLock.cs
- Scene3D.cs
- OperatingSystem.cs
- FtpRequestCacheValidator.cs
- XmlDataImplementation.cs
- cookieexception.cs
- DataColumnCollection.cs
- InputScopeManager.cs
- WindowsSolidBrush.cs
- UnsafeNativeMethodsCLR.cs
- ImageListUtils.cs
- FixedTextContainer.cs
- CircleEase.cs
- CatalogZone.cs
- NetCodeGroup.cs
- BinaryCommonClasses.cs
- ToolStripPanelRow.cs
- FragmentQueryProcessor.cs
- JournalNavigationScope.cs
- ObjectDataSourceDesigner.cs
- LinqTreeNodeEvaluator.cs
- RectangleHotSpot.cs
- Rules.cs
- LineVisual.cs
- NGCSerializerAsync.cs
- WorkflowHostingEndpoint.cs
- WebWorkflowRole.cs
- ExtensionSimplifierMarkupObject.cs
- EndOfStreamException.cs
- Set.cs
- InkCanvasAutomationPeer.cs
- HttpFileCollectionWrapper.cs
- SelectionRangeConverter.cs
- ManipulationDelta.cs
- AttachedPropertyMethodSelector.cs
- SafeMarshalContext.cs
- QilInvokeEarlyBound.cs
- JoinElimination.cs
- DynamicPropertyReader.cs
- ConfigXmlAttribute.cs
- DbConnectionStringBuilder.cs
- FileIOPermission.cs
- DataSourceHelper.cs