Table of Contents

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

SilverlightPathProvider

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

version Version

The version of the runtime the Silverlight binary is targeting.

is32Bit bool

true if the 32-bits version should be preferred.

runtime SilverlightInstallation

The located runtime installation, or null if none was found.

Returns

bool

true if the runtime was located successfully, false otherwise.

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

version Version

The version of the runtime the Silverlight binary is targeting.

is32Bit bool

true if the 32-bits version should be preferred.

runtime SilverlightInstallation

The located runtime installation, or null if none was found.

Returns

bool

true if the runtime was located successfully, false otherwise.