获取许可证代码
UF_system_info_t sys_info;char date_buf;
char tmp,domain;
char *u_domain;
int sp1,sp2,up;
UF_ask_system_info (&sys_info );//系统信息
strcpy(date_buf,sys_info.date_buf);//系统时间
strncpy(tmp,date_buf,10);
tmp='\0';//
strncpy(tmp,tmp,4);
tmp='\0';//年份
strncpy(tmp,tmp+5,2);
tmp='\0';//月份
strncpy(tmp,tmp+8,2);
tmp='\0';//日期
strcpy(date_buf,tmp);
strcat(date_buf,tmp);
strcat(date_buf,tmp);
页:
[1]