Use Assembly.Location instead of CodeBase
Use Assembly.Location instead of CodeBase

Using the codebase uri and converting it to a directory when the path to the assembly contains spaces is problematic because the resulting string contains the html entity %20 which will cause a failure later, for example when creating a vault.
ebekker/letsencrypt-win