C
C#2y ago
GenTwo

❔ Console Application Authentication help

Hello developers, I am planning to sell a console application and I am in search of a public service that can generate license keys, register users with username, password, and key, and automatically log them in if the hardware ID matches. Can anyone recommend any suitable APIs for this purpose? I'm no c# genius so an intermediate friendly solution would be ideal. Thank you!
17 Replies
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
GenTwo
GenTwo2y ago
Yeah i know, but it will stop the little script kids
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
GenTwo
GenTwo2y ago
It's an obfuscator for Enfusion scripts, games like Arma, DayZ etc Drag a dayz mod into the application and it spits out obfuscated code
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
GenTwo
GenTwo2y ago
No, it's for mod developers to protect their mods
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
GenTwo
GenTwo2y ago
GitHub
GitHub - sixsoftware/Dayz-hitmarkers: Six Hitmarkers is a mod for t...
Six Hitmarkers is a mod for the game DayZ (https://www.bohemia.net/games/dayz) that adds hitmarkers to modded servers. Server owners have the ability to customize the hitmarkers, including enabling...
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
GenTwo
GenTwo2y ago
I was using https://cryptolens.io/ but when i used dotnet publish -r win-x64 -c Release -p:PublishAot=true to make the exe it broke it for some reason but if i make without PublishAOT it works fine, not sure how to fix that error
Unhandled Exception: Newtonsoft.Json.JsonSerializationException: Unable to find a constructor to use for type SKM.V3.Models.KeyInfoResult. A class should either have a default constructor, one constructor with arguments or a constructor marked with the JsonConstructor attribute. Path '', line 1, position 2.
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateNewObject(JsonReader, JsonObjectContract, JsonProperty, JsonProperty, String, Boolean&) + 0x18f
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader, Type, JsonContract, JsonProperty, JsonContainerContract, JsonProperty, Object) + 0x2a4
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader, Type, JsonContract, JsonProperty, JsonContainerContract, JsonProperty, Object) + 0xa4
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader, Type, Boolean) + 0x257
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader, Type) + 0xf4
at Newtonsoft.Json.JsonConvert.DeserializeObject(String, Type, JsonSerializerSettings) + 0x8e
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String, JsonSerializerSettings) + 0x2b
at SKM.V3.Internal.HelperMethods.SendRequestToWebAPI3[T](RequestModel, String, String, Int32, Int32) + 0x829
at SKM.V3.Methods.Key.Activate(String, ActivateModel) + 0x7a
at SIXPackerLite.ProgramEntry.Main(String[]) + 0xa8
at SIX PBO Tools - Free Edition!<BaseAddress>+0x83e08b
Unhandled Exception: Newtonsoft.Json.JsonSerializationException: Unable to find a constructor to use for type SKM.V3.Models.KeyInfoResult. A class should either have a default constructor, one constructor with arguments or a constructor marked with the JsonConstructor attribute. Path '', line 1, position 2.
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateNewObject(JsonReader, JsonObjectContract, JsonProperty, JsonProperty, String, Boolean&) + 0x18f
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader, Type, JsonContract, JsonProperty, JsonContainerContract, JsonProperty, Object) + 0x2a4
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader, Type, JsonContract, JsonProperty, JsonContainerContract, JsonProperty, Object) + 0xa4
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader, Type, Boolean) + 0x257
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader, Type) + 0xf4
at Newtonsoft.Json.JsonConvert.DeserializeObject(String, Type, JsonSerializerSettings) + 0x8e
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String, JsonSerializerSettings) + 0x2b
at SKM.V3.Internal.HelperMethods.SendRequestToWebAPI3[T](RequestModel, String, String, Int32, Int32) + 0x829
at SKM.V3.Methods.Key.Activate(String, ActivateModel) + 0x7a
at SIXPackerLite.ProgramEntry.Main(String[]) + 0xa8
at SIX PBO Tools - Free Edition!<BaseAddress>+0x83e08b
GenTwo
GenTwo2y ago
This would be better, but i'm not sure how to do this
Buddy
Buddy2y ago
Its legal to sell mods?
GenTwo
GenTwo2y ago
It's against Bohemia's Terms of service, but it's not enforced It's bohemia after all
Buddy
Buddy2y ago
Yeah, it's pretty much a common law of all games that supports mods. No paid mods allowed. Donations, sure. Paid mods, no.
GenTwo
GenTwo2y ago
Yeah it’s quite bad with DayZ, it’s essentially C code so many put rest calls in for license servers and obfuscate PBO files to you can’t open them. But if you want the game to run it then it has to be accessible somehow, it’s a shit protection method I do the same + automate the obfuscation of classes, methods, vars, strings and the flow. It throws most people off as it’s not common to see obfuscated code Absolute fucking headache to make it so I kinda want to protect the god knows how many hours of effort
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.