Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).
Imports MySql.Data Imports MySql.Data.MySqlClient Public Shared Function validate_user_credentials(ByVal username As String, ByVal password As String) As Boolean Dim myConnection As New MySqlConnection myConnection = New MySqlConnection(myConnectionString) Dim myCommand As New MySqlCommand("SP_Validate_user") myCommand.Connection = myConnection myConnection.Open() myCommand.Parameters.AddWithValue("Username", username) myCommand.Parameters.AddWithValue("UPassword", password) Dim sqlReader As MySql.Data.MySqlClient.MySqlDataReader = myCommand.ExecuteReader While sqlReader.Read() MsgBox(sqlReader(0)) MsgBox(sqlReader(1)) End While myCommand.Connection.Close() sqlReader = Nothing End Function
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
12 Experts available now in Live!