UtilGitHubGetLatestRelease Method
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 GitHubRelease GetLatestRelease(
string userName,
string repositoryName
)
Public Shared Function GetLatestRelease (
userName As String,
repositoryName As String
) As GitHubRelease
Dim userName As String
Dim repositoryName As String
Dim returnValue As GitHubRelease
returnValue = UtilGitHub.GetLatestRelease(userName,
repositoryName)
public:
static GitHubRelease^ GetLatestRelease(
String^ userName,
String^ repositoryName
)
static member GetLatestRelease :
userName : string *
repositoryName : string -> GitHubRelease
No code example is currently available or this language may not be supported.
- userName String
-
The user name.
- repositoryName String
-
The repository name.
GitHubRelease
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 = GetLatestRelease("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.