Merge branch 'sayan-dev' of https://github.com/intellivoid/Socialvoid.NET into aliwoto-dev
This commit is contained in:
commit
bc61768397
|
@ -7,3 +7,4 @@ woto_files/
|
|||
woto_docs/
|
||||
woto_tests/
|
||||
woto_objects/
|
||||
/.vs/
|
||||
|
|
|
@ -0,0 +1,22 @@
|
|||
using SocialVoid.Methods;
|
||||
|
||||
namespace SocialVoid.Client
|
||||
{
|
||||
class SocialvoidClient
|
||||
{
|
||||
public string PUB_HASH, PVT_HASH, SOCIALVOID_PLATFORM, SOCIALVOID_VERSION;
|
||||
public SocialvoidClient(string public_hash, string private_hash, string platform, string version)
|
||||
{
|
||||
PUB_HASH = public_hash;
|
||||
PVT_HASH = private_hash;
|
||||
SOCIALVOID_PLATFORM = platform;
|
||||
SOCIALVOID_VERSION = version;
|
||||
|
||||
|
||||
bool createsession()
|
||||
{
|
||||
return Methods.CreateSession.Do(PUB_HASH, PVT_HASH, SOCIALVOID_PLATFORM, SOCIALVOID_VERSION);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,10 @@
|
|||
namespace SocialVoid.Methods
|
||||
{
|
||||
class CreateSession
|
||||
{
|
||||
public static bool Do(string public_hash, string private_hash, string platform, string version)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue