You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BinaryFormatter serialization and deserialization are disabled within this application. See https://aka.ms/binaryformatter for more information.
at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph)
at InstagramApiSharp.Helpers.SerializationHelper.SerializeToStream(Object o)
at InstagramApiSharp.API.InstaApi.GetStateDataAsStream()
at InstagramApiSharp.Classes.SessionHandlers.FileSessionHandler.Save()
at [CUT]
The BinaryFormatter type is dangerous and is not recommended for data processing. Applications should stop using BinaryFormatter as soon as possible, even if they believe the data they're processing to be trustworthy. BinaryFormatter is insecure and can't be made secure.
This affects:
.NET Framework all versions
.NET Core 2.1 - 3.1
.NET 5 and later
The text was updated successfully, but these errors were encountered:
I've:
Issue category
Language
Usage
Operating System
Debug logs
throws following exception
Describe your issue
FileSessionHandler uses BinaryFormatter to laod and save session. As stated in https://aka.ms/binaryformatter
The text was updated successfully, but these errors were encountered: