Mq4 Protection methods..

 
Hi, Can anybody share the common methods to protect the our indi...give some sample MQ4 plz..
 
for 600 build or more
 
If there is common methods to protect, there also will be common methods to remove protection.
 
Then put it inside indicator.
 
#import "Kernel32.dll"
bool GetVolumeInformationA(string RootPathName,
string VolumeNameBuffer, int VolumeNameSize,
int& VolumeSerialNumber[], int MaximumComponentLength,
int FileSystemFlags, string FileSystemNameBuffer,
int FileSystemNameSize);
#import
//+------------------------------------------------------------------+*/
string SystemDriveSerialNumber(string sDrive) {
int iVolumeSerialNumber[1]={0};
string sVolumeSerialNumber="Lxxxx";
if(GetVolumeInformationA(sDrive+":\\", " ", 15, iVolumeSerialNumber, 0, 0, " ", 15))
{
sVolumeSerialNumber=IntegerToHexString(iVolumeSerialNumber[0]);
sVolumeSerialNumber=StringConcatenate(StringSubstr(sVolumeSerialNumber,0,4), "-", StringSubstr(sVolumeSerialNumber,4));
}
return(sVolumeSerialNumber);

this is not working


 
the indi has to work only for a particular system..
 
You are trying to commercializing your indi, so you have to search in Google: mql4 protection.
 
if you go for mql4 protection, only suggestion they are saying to write it in dll..but i dont know how to do that..
 
search in Google: mql4 protection
 
Sorry. Can't help you.
 
#import "Kernel32.dll"
bool GetVolumeInformationW(string RootPathName,
string VolumeNameBuffer, int VolumeNameSize,
int& VolumeSerialNumber[], int MaximumComponentLength,
int FileSystemFlags, string FileSystemNameBuffer,
int FileSystemNameSize);
#import
//+------------------------------------------------------------------+*/
string SystemDriveSerialNumber(string sDrive) {
int iVolumeSerialNumber[1]={0};
string sVolumeSerialNumber="Lxxxxx";
if(GetVolumeInformationA(sDrive+":\\", " ", 15, iVolumeSerialNumber, 0, 0, " ", 15))
{
sVolumeSerialNumber=IntegerToHexString(iVolumeSerialNumber[0]);
sVolumeSerialNumber=StringConcatenate(StringSubstr(sVolumeSerialNumber,0,4), "-", StringSubstr(sVolumeSerialNumber,4));
}

return(sVolumeSerialNumber);

only this piece of coding i need help.. its not working :x

Reason: