UtilGitHubIsUpdateAvailable Method
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 bool IsUpdateAvailable(
string userName,
string repositoryName,
Version currentVersion
)
Public Shared Function IsUpdateAvailable (
userName As String,
repositoryName As String,
currentVersion As Version
) As Boolean
Dim userName As String
Dim repositoryName As String
Dim currentVersion As Version
Dim returnValue As Boolean
returnValue = UtilGitHub.IsUpdateAvailable(userName,
repositoryName, currentVersion)
public:
static bool IsUpdateAvailable(
String^ userName,
String^ repositoryName,
Version^ currentVersion
)
static member IsUpdateAvailable :
userName : string *
repositoryName : string *
currentVersion : Version -> 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.
Boolean 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 = IsUpdateAvailable(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.