Invalid TOTP for c#
-
@dstelangre said in Invalid TOTP for c#:
public static string GetTotp()
{
var secretKey = OtpNet.Base32Encoding.ToBytes("totp key that appears below QR code ");
var totp = new Totp(secretKey);
var otp = totp.ComputeTotp();
return otp;
}Thank you. It's working.
-
@dstelangre : will you plz help me to resolve the same?
-
Here is DLL and TOTP generation code . just add OtpNet
nuget packagepublic static string GetTotp()
{
var secretKey = OtpNet.Base32Encoding.ToBytes("totp key that appears below QR code ");
var totp = new Totp(secretKey);
var otp = totp.ComputeTotp();
return otp;
}DLL link:
https://drive.google.com/file/d/1Z6Z016OoDDuOdKiBQNMVly-lkvUMAbbX/view?usp=sharing
-
@abhi5883 sent on email
-
@abhi5883 @dstelangre @Vishal-naykawala @vijayyande @aruiwale
I am sorry but modifying C# library is not on our list. Our SDKs are all open source, and we encourage pull requests and other contributions from the community.
-
@dstelangre please share code to abhijeet.001@gmail.com or share it somehow. Whatsapp : 9004483239
-
@dstelangre please provide DLL
-
@vijayyande @Vishal-naykawala , I have fix the issue my own , Modified DLL and created method to get Realtime totp in code itself no need to get from mobile and enter into code all working , if you want fix ping me .
-
please provide totp update for c#
-
@admin @administrators I have same issue please provide the solution for c#