Home > Backend Development > PHP Tutorial > Why is my VB.Net Telegram API AuthKey Exchange Failing to Generate a Valid AuthKey?

Why is my VB.Net Telegram API AuthKey Exchange Failing to Generate a Valid AuthKey?

DDD
Release: 2024-12-30 03:56:08
Original
927 people have browsed it

Why is my VB.Net Telegram API AuthKey Exchange Failing to Generate a Valid AuthKey?

First of all, I didn't manage to complete the Authentication-Authorization key exchange yet. I'm close, but at the moment the resultI get underneath contains invalid values (e.g. an AuthKey contains several types of unknown values while I expect mostly 0).
Although this VB.Net script closely resembles the AuthKey sequence for Telegram API, it somehow won't reach its completion and result in a valid AuthKey. Other discovered code does the same. I assume that either we're missing something critical or we need a more sophisticated implementation. Also during the process, I discovered that the library used to make the secure connection to Telegram Servers is missing this important method to cleanly close the connection.

Public Sub Close(ByVal asWait As Boolean)
     If _stream IsNot Nothing Then
        If asWait Then _stream.Close()
        If _are IsNot Nothing Then _are.WaitOne()
        _stream = Nothing
     End If
End Sub
Copy after login

I'll keep you updated about any further progress
Best

The above is the detailed content of Why is my VB.Net Telegram API AuthKey Exchange Failing to Generate a Valid AuthKey?. For more information, please follow other related articles on the PHP Chinese website!

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template