public static EnterpriseLicense ( ) : |
||
return |
/// <summary> /// Gets GitHub Enterprise License Information (must be Site Admin user). /// </summary> /// <remarks> /// https://developer.github.com/v3/enterprise/license/#get-license-information /// </remarks> /// <returns>The <see cref="LicenseInfo"/> statistics.</returns> public async Task <LicenseInfo> Get() { var endpoint = ApiUrls.EnterpriseLicense(); return(await ApiConnection.Get <LicenseInfo>(endpoint) .ConfigureAwait(false)); }
/// <summary> /// Gets GitHub Enterprise License Information (must be Site Admin user). /// </summary> /// <remarks> /// https://developer.github.com/v3/enterprise/license/#get-license-information /// </remarks> /// <returns>The <see cref="LicenseInfo"/> statistics.</returns> public Task <LicenseInfo> Get() { var endpoint = ApiUrls.EnterpriseLicense(); return(ApiConnection.Get <LicenseInfo>(endpoint)); }