@admin @administrators I have same issue please provide the solution for c#
Best posts made by dstelangre
- 
    RE: Invalid TOTP for c#posted in General Discussion
- 
    RE: Invalid TOTP for c#posted in General DiscussionHere 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 
Latest posts made by dstelangre
- 
    RE: Invalid TOTP for c#posted in General Discussion@Nichil72 Select a solution in Solution Manager, and then select Tools > NuGet Package Manager > Manage NuGet Packages for Solution 
 click on Browse and type otp.netfirst it will appear and select it and right side select project and click to install 
- 
    RE: Invalid TOTP for c#posted in General Discussion@Nichil72 Please check my comments below on same discussion , solution is provided , and I am not from Angel Team ,Thanks 
- 
    RE: Please give us tentative date to support C# for TOTPposted in C#/.Net SDK@vijayyande pls check the solution here which can help you https://smartapi.angelbroking.com/topic/2391/invalid-totp-for-c 
- 
    RE: Invalid TOTP for c#posted in General Discussion@Vishal-naykawala If still you have issue ? connect me on email dstelangre@gmail.com 
- 
    RE: Invalid TOTP for c#posted in General DiscussionHere 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 
- 
    RE: Guide to secure your SmartAPI Account with two factor authenticationposted in General Discussion@priya , I have automated this process in C# 
- 
    RE: Invalid TOTP for c#posted in General Discussion@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 .