Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.
Public Function GET_PW_CS(ByVal stIN As String) As String 'INPUTS: stIN = the argument (passkey) for the string desired 'OUTPUTS: The string from the console program 'Set up the Process Dim pInfo As New ProcessStartInfo() pInfo.FileName = "C:\MyConsoleProgram.exe" pInfo.Arguments = stIN pInfo.RedirectStandardOutput = True pInfo.UseShellExecute = False pInfo.CreateNoWindow = True 'Calls the program and gets the output Dim p As Process = Process.Start(pInfo) GET_PW_CS = p.StandardOutput.ReadLine() p.WaitForExit() pInfo = Nothing p.Dispose() End Function
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
17 Experts available now in Live!