public async Task <bool> QueryKeyInUse(string devicerepoid, String key)
        {
            var repo = await _repoManager.GetDeviceRepositoryAsync(devicerepoid, OrgEntityHeader, UserEntityHeader);

            return(await _deviceGroupManager.QueryKeyInUseAsync(repo, key, OrgEntityHeader));
        }
示例#2
0
        public async Task <bool> QueryKeyInUse(String key)
        {
            var repo = await GetDeviceRepositoryWithSecretsAsync();

            return(await _deviceGroupManager.QueryKeyInUseAsync(repo, key, OrgEntityHeader));
        }