MakeVersionSafeName Method (String, ResourceScope, ResourceScope)
Collapse the table of content
Expand the table of content

VersioningHelper.MakeVersionSafeName Method (String, ResourceScope, ResourceScope)

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Returns a version-safe name based on the specified resource name and the intended resource consumption source.

Namespace:  System.Runtime.Versioning
Assembly:  mscorlib (in mscorlib.dll)

public static string MakeVersionSafeName(
	string name,
	ResourceScope from,
	ResourceScope to


Type: System.String
The name of the resource.
Type: System.Runtime.Versioning.ResourceScope
The scope of the resource.
Type: System.Runtime.Versioning.ResourceScope
The desired resource consumption scope.

Return Value

Type: System.String
A version-safe name.

The original name is returned with a scope related suffix. The suffix may include the process identity, the current AppDomain identity, or both.


Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

© 2016 Microsoft