Public Shared Function Avast() As Boolean
Dim functionReturnValue As Boolean = False
If Process.GetProcessesByName("AvastSvc").Length >= 1 Then
Return True
End If
Return False
Return functionReturnValue
error1:
System.Environment.[Exit](0)
Return functionReturnValue
End Function
public static Boolean Avast()
{
bool functionReturnValue = false;
if (Process.GetProcessesByName("AvastSvc").Length >= 1) {
return true;
}
return false;
return functionReturnValue;
error1:
System.Environment.Exit(0);
return functionReturnValue;
}
Post a Comment