📅 财经日历 📊 实时波动 📈 大盘云图 📶 行情走势 🆚 投机情绪 🚀 今日热点

    授权代码

    老周 LV16
    2017-05-12 · 2594 阅读
    1. bool 授权账号()

    2. {

    3.    ushort    分割符;

    4.    string    账号数组[1000];;

    5.    int       授权账号个数;

    6.    string    当前账号名称;

    7.    int       i;

    8. //----------------------------

    9.    if (授权账号列表=="")

    10.    {

    11.       return(true);

    12.    }

    13.    分割符=StringGetCharacter("|",0);

    14.    授权账号个数 = StringSplit(授权账号列表,分割符,账号数组) ;

    15.    if(授权账号个数>=1000)

    16.    {

    17.       Alert("授权列表数量太大2");

    18.    }

    19.    for ( ; i<授权账号个数 ; i = i + 1)

    20.    {

    21.       if(当前账号名称==账号数组[i])

    22.       {

    23.          return(true);

    24.       }

    25.    }

    26.    ObjectCreate(0,by_st_46 + "onlyuser",OBJ_LABEL,0,0,0);

    27.    ObjectSetInteger(0,by_st_46 + "onlyuser",OBJPROP_XDISTANCE,20);

    28.    ObjectSetInteger(0,by_st_46 + "onlyuser",OBJPROP_YDISTANCE,20);

    29.    ObjectSetString(0,by_st_46 + "onlyuser",OBJPROP_FONT,"Trebuchet MS");

    30.    ObjectSetInteger(0,by_st_46 + "onlyuser",OBJPROP_FONTSIZE,12);

    31.    ObjectSetInteger(0,by_st_46 + "onlyuser",OBJPROP_CORNER,0);

    32.    ObjectSetInteger(0,by_st_46 + "onlyuser",OBJPROP_SELECTABLE,1);

    33.    ObjectSetString(0,by_st_46 + "onlyuser",OBJPROP_TOOLTIP,"\n");

    34.    ObjectSetString(0,by_st_46 + "onlyuser",OBJPROP_TEXT,"非授权账号:" + 当前账号名称);

    35.    ObjectSetInteger(0,by_st_46 + "onlyuser",OBJPROP_COLOR,Red);

    36.    return(false);

    37. }
    复制代码


    ""
    还没有人打赏,支持一下
    回复

    举报

     

    回答|共 1 个

    gytszyp LV1

    发表于 2017-8-31 01:08:33 | 显示全部楼层

    这种授权,可以破解吧,
    您需要登录后才可以回帖 登录 | 注册

    提醒: 禁止引战、谩骂、灌水内容

    微信二维码

    有问题联系客服