Not working still i am getting same error. Please check the webservice method I thing that this the problem. Please check
public class LoginSample : System.Web.Services.WebService { private readonly LogInManager _logInManager;
public LoginSample(
LogInManager logInManager)
{
_logInManager = logInManager;
}
[WebMethod]
public async Task<int> GetTenantId(string strTenancy, string strUser, string strPwd)
{
int tentId = await GetLoginResult(strTenancy, strUser, strPwd);
return tentId;
}
private async Task<int> GetLoginResult(string strTenancy, string strUser, string strPassword)
{
string strRetVal = "";
int TId = 0;
try
{
var loginResult = await _logInManager.LoginAsync(strUser, strPassword, strTenancy);
switch (loginResult.Result)
{
case AbpLoginResultType.Success:
return loginResult.Tenant.Id;
default:
return TId;
}
}
catch (Exception ex)
{
throw ex;
}
}
}
Please check the code.
Thanks
Hi ismcagdas,
Thx for your prompt reply. the method you have suggested here, we are already using in our applications. This method will works out only for web application.
Or
Can you send us some code samples for how to decrypt windows application password.
Awaiting for your reply.