C# Class Bloom.WebLibraryIntegration.BookDownloadSupport

BookDownloadSupport is used by program.cs at startup to make sure we are ready for download requests from the web. (It had a larger role at one point, but things have been simplified.)
Exibir arquivo Open project: BloomBooks/BloomDesktop

Private Properties

Property Type Description
AlreadyRegistered bool

Public Methods

Method Description
EnsureDownloadFolderExists ( ) : void
RegisterForBloomUrlProtocol ( bool allUsers ) : void

Make sure this instance is registered (at least for this user) as the program to handle bloom:// urls. If we are installing for all users we can make it in a shared place.

Private Methods

Method Description
AlreadyRegistered ( RegistryKey root ) : bool

Method Details

EnsureDownloadFolderExists() public static method

public static EnsureDownloadFolderExists ( ) : void
return void

RegisterForBloomUrlProtocol() public static method

Make sure this instance is registered (at least for this user) as the program to handle bloom:// urls. If we are installing for all users we can make it in a shared place.
public static RegisterForBloomUrlProtocol ( bool allUsers ) : void
allUsers bool
return void