UtilGitHubIsUpdateAvailableAsync Method
Asynchronously gets a value that determine whether exists a new version available of the specified reository 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<bool> IsUpdateAvailableAsync(
string userName,
string repositoryName,
Version currentVersion
)
Public Shared Function IsUpdateAvailableAsync (
userName As String,
repositoryName As String,
currentVersion As Version
) As Task(Of Boolean)
Dim userName As String
Dim repositoryName As String
Dim currentVersion As Version
Dim returnValue As Task(Of Boolean)
returnValue = UtilGitHub.IsUpdateAvailableAsync(userName,
repositoryName, currentVersion)
public:
static Task<bool>^ IsUpdateAvailableAsync(
String^ userName,
String^ repositoryName,
Version^ currentVersion
)
static member IsUpdateAvailableAsync :
userName : string *
repositoryName : string *
currentVersion : Version -> Task<bool>
No code example is currently available or this language may not be supported.
- userName String
-
The user name.
- repositoryName String
-
The repository name.
- currentVersion Version
-
The current version.
TaskBoolean if exists a new version available on GitHub; otherwise,
.
This is a code example.
No code example is currently available or this language may not be supported.
Dim user As String = "ElektroStudios"
Dim repo As String = "SmartBotKit"
Dim currentVersion As Version = Assembly.GetExecutingAssembly().GetName().Version
Dim isUpdateAvailable As Boolean = Await IsUpdateAvailableAsync(user, repo, currentVersion)
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.