I have just written this code and just felt like releasing it!
It will check what product the user has and if it is demo, it closes the insim connection, whereas if it is S1 or S2 it does nothing!
Use it how you please!
Vane
EDIT: this will only work with LFS_External, it would need to be greatly modified to be used anywhere else...
private void VER_InSimVersionInformation(Packets.IS_VER VER)
{
if (VER.Product.Equals("DEMO"))
{
InSim.Close();
MessageBox.Show("This Program only works with S1 or S2");
///LFS_External License Check by Vane/Peter Savage
}
}
It will check what product the user has and if it is demo, it closes the insim connection, whereas if it is S1 or S2 it does nothing!
Use it how you please!
Vane
EDIT: this will only work with LFS_External, it would need to be greatly modified to be used anywhere else...