User2114772480 posted
Session data cleared after running the below code
ProcessStartInfo startInfo = new ProcessStartInfo();
startInfo.CreateNoWindow = true;
startInfo.UseShellExecute = false;
startInfo.FileName = opensslcmdName1;
startInfo.WorkingDirectory = System.IO.Path.GetDirectoryName(startInfo.FileName);
startInfo.WindowStyle = ProcessWindowStyle.Hidden;
startInfo.Arguments = cmdArgText;
using (Process exeProcess = Process.Start(startInfo))
{
exeProcess.WaitForExit();
}