Mega Code Archive

 
Categories / VB.Net / Development
 

Environment TickCount Property gets the number of milliseconds elapsed since the system started

Imports System Class Sample    Public Shared Sub Main()       Dim result As Integer = Environment.TickCount And Int32.MaxValue       Console.WriteLine("TickCount: {0}", result)    End Sub  End Class