private async Task <COMEnumerateInterfaces> GetSupportedInterfacesInternal(NtToken token) { try { return(await COMEnumerateInterfaces.GetInterfacesOOP(this, m_registry, token)); } catch (Win32Exception) { throw; } }
public async Task <bool> LoadSupportedInterfacesAsync(bool refresh, NtToken token) { if (refresh || !InterfacesLoaded) { COMEnumerateInterfaces enum_int = await GetSupportedInterfacesInternal(token); m_interfaces = new List <COMInterfaceInstance>(enum_int.Interfaces); m_factory_interfaces = new List <COMInterfaceInstance>(enum_int.FactoryInterfaces); InterfacesLoaded = true; return(true); } return(false); }
private async Task <COMEnumerateInterfaces> GetSupportedInterfacesInternal(NtToken token) { try { return(await COMEnumerateInterfaces.GetInterfacesOOP(this, Database, token)); } catch (Win32Exception) { throw; } catch (AggregateException agg) { throw agg.InnerException; } }