/// <summary>
 /// Gets the type associated with the specified class identifier (CLSID) from the specified server.
 /// </summary>
 /// <param name="provider">The reflection provider.</param>
 /// <param name="clsid">The CLSID of the type to get. </param>
 /// <param name="server">The server from which to load the type. If the server name is null, this method automatically reverts to the local machine. </param>
 /// <returns>System.__ComObject regardless of whether the CLSID is valid.</returns>
 public static Type GetTypeFromCLSID(this IComTypeLoadingProvider provider, Guid clsid, string server) => NotNull(provider).GetTypeFromCLSID(clsid, server, throwOnError: false);
 /// <summary>
 /// Gets the type associated with the specified program identifier (progID) from the specified server, returning null if an error is encountered while loading the type.
 /// </summary>
 /// <param name="provider">The reflection provider.</param>
 /// <param name="progID">The progID of the type to get. </param>
 /// <param name="server">The server from which to load the type. If the server name is null, this method automatically reverts to the local machine. </param>
 /// <returns>The type associated with the specified program identifier (progID), if <paramref name="progID" /> is a valid entry in the registry and a type is associated with it; otherwise, null.</returns>
 public static Type GetTypeFromProgID(this IComTypeLoadingProvider provider, string progID, string server) => NotNull(provider).GetTypeFromProgID(progID, server, throwOnError: false);
 /// <summary>
 /// Gets the type associated with the specified class identifier (CLSID), specifying whether to throw an exception if an error occurs while loading the type.
 /// </summary>
 /// <param name="provider">The reflection provider.</param>
 /// <param name="clsid">The CLSID of the type to get. </param>
 /// <param name="throwOnError">true to throw any exception that occurs.-or- false to ignore any exception that occurs. </param>
 /// <returns>System.__ComObject regardless of whether the CLSID is valid.</returns>
 public static Type GetTypeFromCLSID(this IComTypeLoadingProvider provider, Guid clsid, bool throwOnError) => NotNull(provider).GetTypeFromCLSID(clsid, server: null, throwOnError);