UtilGitHubGetLatestReleaseAsync Method
Asynchronously gets the latest release from the specified repository on GitHub.
Namespace: DevCase.ThirdParty.GitHubAssembly: DevCase.net48.ThirdParty.GitHub (in DevCase.net48.ThirdParty.GitHub.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static Task<GitHubRelease> GetLatestReleaseAsync(
string userName,
string repositoryName
)
Public Shared Function GetLatestReleaseAsync (
userName As String,
repositoryName As String
) As Task(Of GitHubRelease)
Dim userName As String
Dim repositoryName As String
Dim returnValue As Task(Of GitHubRelease)
returnValue = UtilGitHub.GetLatestReleaseAsync(userName,
repositoryName)
public:
static Task<GitHubRelease^>^ GetLatestReleaseAsync(
String^ userName,
String^ repositoryName
)
static member GetLatestReleaseAsync :
userName : string *
repositoryName : string -> Task<GitHubRelease>
No code example is currently available or this language may not be supported.
- userName String
-
The user name.
- repositoryName String
-
The repository name.
TaskGitHubRelease
The resulting
GitHubRelease.
This is a code example.
No code example is currently available or this language may not be supported.
Dim release As GitHubRelease = Await GetLatestReleaseAsync("ElektroStudios", "SmartBotKit")
Console.WriteLine("RELEASE: {0}", release.ToString())
Console.WriteLine()
Console.WriteLine("BODY:")
Console.WriteLine(release.Body)
Console.WriteLine()
For Each asset As GitHubAsset In release.Assets
Console.WriteLine("ASSET: {0}", asset.ToString())
Next asset
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.