Click or drag to resize

WebExtensionsValidateAssemblyBindings Method

Validates the assembly bindings for the specified application configFileName.

Namespace:  GSF.Web
Assembly:  GSF.Web (in GSF.Web.dll) Version: 2.3.324-beta
Syntax
public static bool ValidateAssemblyBindings(
	string configFileName,
	Stream assemblyBindingsSource = null
)
Request Example View Source

Parameters

configFileName
Type: SystemString
Application configuration file to validate for needed assembly bindings.
assemblyBindingsSource (Optional)
Type: System.IOStream
Stream to assembly bindings to add; defaults to embedded "GSF.Web.AssemblyBindings.xml" resource.

Return Value

Type: Boolean
true if assembly bindings were updated; otherwise, false.
Remarks
Any stream passed in via assemblyBindingsSource will be closed if function succeeds.
See Also