PathHelpersFormatExtension Method

Ensures that the provided extension is in the provided format: .exe

Definition

Namespace: SnapDB.IO
Assembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public static string FormatExtension(
	string extension
)

Parameters

extension  String
the extension to format. Can be *.exe, or .exe, or exe

Return Value

String
A valid extension.

Remarks

Throws a series of exceptions if the extension is invalid.

See Also