Class SilverlightPathProvider
- Namespace
- AsmResolver.DotNet
- Assembly
- AsmResolver.DotNet.dll
Provides a mechanism for locating Microsoft Silverlight runtime installation directories on a system.
public abstract class SilverlightPathProvider
- Inheritance
-
SilverlightPathProvider
- Derived
- Inherited Members
Properties
Default
Gets the system-default Silverlight path provider.
public static SilverlightPathProvider Default { get; }
Property Value
Methods
TryGetCompatibleReferenceRuntime(Version, bool, out SilverlightInstallation?)
Attempts to obtain the most compatible reference runtime present on the current system given a Silverlight version.
public abstract bool TryGetCompatibleReferenceRuntime(Version version, bool is32Bit, out SilverlightInstallation? runtime)
Parameters
versionVersionThe version of the runtime the Silverlight binary is targeting.
is32Bitbooltrueif the 32-bits version should be preferred.runtimeSilverlightInstallationThe located runtime installation, or
nullif none was found.
Returns
- bool
trueif the runtime was located successfully,falseotherwise.
TryGetCompatibleRuntime(Version, bool, out SilverlightInstallation?)
Attempts to obtain the most compatible implementation runtime present on the current system given a Silverlight version.
public abstract bool TryGetCompatibleRuntime(Version version, bool is32Bit, out SilverlightInstallation? runtime)
Parameters
versionVersionThe version of the runtime the Silverlight binary is targeting.
is32Bitbooltrueif the 32-bits version should be preferred.runtimeSilverlightInstallationThe located runtime installation, or
nullif none was found.
Returns
- bool
trueif the runtime was located successfully,falseotherwise.