Moved DLLImport functions to NativeMethods Class per Analysis tool
Set charset for DLLImport to Unicode and to throw exception for invalid char per Analysis tool
Added validation of password and license host so that invalid information will be identified and user will be asked to enter the correct information.