Jump to content

Süreli Yazılım Örneği (30 Gün)


HalilYanar
 Share

Recommended Posts

_Lisansboxın 1. ve 2. sürümleri internet kontrolsüz ama 3. sürümünde en azından seriali girmek için internet bağlantısı zorunlu onun dışında serial birkez girildikten sonra tekrar internet bağlantısına gerek duymuyor.

Link to comment
Share on other sites

  • 2 hafta sonra ...

Madem ki lisanssız kullanmasını istemiyoruz. Bize bir şekilde internetten ulaşmak zorunda diye düşünüyorum. Bence internetten tarih kontrolü yeterli.
@pairs yazdığınıda sistem tarihini internet üzerinden kontrol ettirmek gerekir.

Link to comment
Share on other sites

  • Editor

İnternete bağlanarak kendi mac adresi ile bir serial oluşturup daha sonra mac e göre kontrol ettirirsek çok iyi olur valla.Müsait bir vakitte örnek yapcagım bununla alakalı.

Edited by pairs
Link to comment
Share on other sites

[quote name='HalilYanar' date='14 April 2012 - 12:34 ' timestamp='1334396052' post='1186391']
Merhaba Arkadaşlar,

Autoplay Media Studio'da süre kısıtlamalı program yapamayanlar için örnek yaptım.

[img]http://i.imgur.com/QESOO.png[/img]

Örnek Dosya (.Apz) :



Şifre : tnctr.com
[/quote]

Aşağıdaki hatayı veriyor.
[img]http://www.tnctr.com/uploads/imgs/pre_1337150598__hata.png[/img]

Link to comment
Share on other sites

[quote name='pairs' date='05 May 2012 - 19:29 ' timestamp='1336235387' post='1197032']
Sanırım bu kodlarla yapılabilir veri yazmıyor.

[code]
Expiration_Date = "20120505" -- Uygulamanın oluşturulduğu tarih.
Date = System.GetDate(DATE_FMT_ISO);
Date = String.Replace(Date, "-", "", false);
if Date > Expiration_Date then
Dialog.Message ("Application Expired!", "Your copy of this application has expired! This program will now exit.");
Application.Exit();
end[/code]
[/quote]

Bu kodlar güzel. Fakat tarihi bilgisayardan okutmak yerine tarih bilgisini internetten nasıl okutabiliriz? Mesela http://www.timeapi.org/EEST sitesinden.

Edited by radyofon
Link to comment
Share on other sites

[quote name='blackman12' date='17 May 2012 - 00:55 ' timestamp='1337205310' post='1201772']
Adam linki vermiş ya? hangi dünyadasın sen?
[code]http://www.tnctr.com/topic/199576-sureli-yazylym-oernedhi-30-gun/page__view__findpost__p__1197024
[/code]
[/quote]

Ayıp ediyorsun valla. Hangi dünyadansın filan??? Ben dünyalı değilim. Ay' dan geldim dermişim. Başlık Autoplay Media Studio. Ben AMS ile ilgili olarak soruyorum. AutoIt ile ilgili elimde var zaten. AMS kodlarıyla yapılmışını soruyorum.

Link to comment
Share on other sites

[quote name='HalilYanar' date='14 April 2012 - 12:34 ' timestamp='1334396052' post='1186391']
Merhaba Arkadaşlar,

Autoplay Media Studio'da süre kısıtlamalı program yapamayanlar için örnek yaptım.

[img]http://i.imgur.com/QESOO.png[/img]

Örnek Dosya (.Apz) :



Şifre : tnctr.com
[/quote]

@HalilYanar

Arkadaşım yaptığın programı inceledim. Tarih bilgisi olarak bilgisayarı kullanıyor. Tarih bilgisini internet üzerindeki bir siteden (örneğin:[color=#445563][size=2]http://www.timeapi.org/EEST/now?) alabilir mi? Bu şekilde yapabilir misin?[/size][/color]

Link to comment
Share on other sites

  • Editor

Bu kodla tarihi çekebilirsin.

[code]result = HTTP.Submit("http://www.timeapi.org/EEST/now", {callback="1"}, SUBMITWEB_GET, 20, 80, nil, nil);
result = String.Mid(result,1,10);
result = String.Replace(result, "-", "", false);[/code]

Link to comment
Share on other sites

[quote name='pairs' date='18 May 2012 - 18:16 ' timestamp='1337354201' post='1202303']
Bu kodla tarihi çekebilirsin.

[code]result = HTTP.Submit("http://www.timeapi.org/EEST/now", {callback="1"}, SUBMITWEB_GET, 20, 80, nil, nil);
result = String.Mid(result,1,10);
result = String.Replace(result, "-", "", false);[/code]
[/quote]

Tarih bilgisini internet üzerinden alarak programa süre kısıtlaması yapma işlemini aşağıdaki kodlarla ayarlayabildim.
[code]Expiration_Date = "20120801" -- Uygulamanın bitiş tarihi.
Date = HTTP.Submit("http://www.timeapi.org/EEST/now", {callback="1"}, SUBMITWEB_GET, 20, 80, nil, nil);
Date = String.Mid(Date,1,10);
Date = String.Replace(Date, "-", "", false);
if Date > Expiration_Date then
Dialog.Message ("Aplication Expired!", "Programın kullanım süresi dolmuş!");
Application.Exit();
end[/code]

Edited by radyofon
Link to comment
Share on other sites

  • 3 years yıl...

@radyofon

 

herhangi bir siteden çekebilirsin örn: saatkac.com var güncel olarak çekebilirisin basit bir function yazdım bunu kullan.

function GetDateOnline()
local date;
local url = "http://www.saatkac.com/";
local http = HTTP.Submit(url, {}, SUBMITWEB_GET, 20, 80, nil, nil);
    if (http ~= "") then
        local strDate = http:match("<td class=\"ffu\">%d%d%-%d%d%-%d%d%d%d");
        if (strDate) then
            date = string.sub(strDate, string.find(strDate, "%d%d%-%d%d%-%d%d%d%d"));
        end
    end
return date;
end

not: artık ne hikmetse tr'deki yasaklardan mı'dır, dns'lerden mi'dir bilmiyorum fakat ams'deki http çok geç yanıt vermeye başladı. sana önerim ams'deki http'yi kullanma farklı bir şekilde bağlan örneğin winhttp ile örnek vermiştim bunun içinde.

Edited by milano88
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...