<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Serdar TÃœRKEL</title>
	<atom:link href="http://www.serdarturkel.com/index.php?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.serdarturkel.com</link>
	<description>software professional</description>
	<lastBuildDate>Tue, 18 Aug 2009 08:07:20 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Java SmartCard Example</title>
		<link>http://www.serdarturkel.com/?p=115</link>
		<comments>http://www.serdarturkel.com/?p=115#comments</comments>
		<pubDate>Tue, 18 Aug 2009 08:04:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[JAVA]]></category>
		<category><![CDATA[actual]]></category>

		<guid isPermaLink="false">http://www.serdarturkel.com/?p=115</guid>
		<description><![CDATA[ISO 7816-1,-2-3-4 standart and supporting T=0 Protocol Smart Card
CardMan 2020 Smart Card Reader
Reference Document (.pdf) REFACOS3V23.PDF
Sent Test Data and received data
TEST CODE
package sctest;
import javax.smartcardio.*;
import java.util.*;
/**
* @author Serdar TÃœRKEL
**/
public class Main {
public static void main(String[] args) {
try {
TerminalFactory factory = TerminalFactory.getDefault();
List crd= factory.terminals().list();
Iterator it=crd.iterator();
int sw,sw1,sw2;
byte data[];
while(it.hasNext()){
CardTerminal ct=(CardTerminal)it.next();
CardPermission cpp=new CardPermission(ct.getName(),&#8221;*&#8221;);
Card card=ct.connect(&#8221;T=0&#8243;);
cpp.checkGuard(card);
CardChannel channel=card.getBasicChannel();
byte byts[]={0,80,0,0,0}; //test data
CommandAPDU capdu=new CommandAPDU(byts);
ResponseAPDU ]]></description>
		<wfw:commentRss>http://www.serdarturkel.com/?feed=rss2&amp;p=115</wfw:commentRss>
		<slash:comments>69</slash:comments>
		</item>
		<item>
		<title>JavaScript, Microsoft AJAX</title>
		<link>http://www.serdarturkel.com/?p=111</link>
		<comments>http://www.serdarturkel.com/?p=111#comments</comments>
		<pubDate>Sun, 10 May 2009 20:08:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Visual C#]]></category>

		<guid isPermaLink="false">http://www.serdarturkel.com/?p=111</guid>
		<description><![CDATA[PAGE CODE
&#60;%@ Page Language=&#8221;C#&#8221; AutoEventWireup=&#8221;true&#8221; CodeFile=&#8221;Default.aspx.cs&#8221; Inherits=&#8221;_Default&#8221; %&#62;
&#60;!DOCTYPE html PUBLIC &#8220;-//W3C//DTD XHTML 1.0 Transitional//EN&#8221; &#8220;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&#8221;&#62;
&#60;html xmlns=&#8221;http://www.w3.org/1999/xhtml&#8221;&#62;
&#60;head runat=&#8221;server&#8221;&#62;
&#60;title&#62;http://www.serdarturkel.com/&#60;/title&#62;
&#60;script language=&#8221;javascript&#8221; type=&#8221;text/javascript&#8221;&#62;
window.onload=function(){
$addHandler($get(&#8221;mlnk&#8221;),&#8221;click&#8221;,function(){
PageMethods.ServerSideMethod(results);
});
};
function results(msg){
$get(&#8221;mlnk&#8221;).innerHTML=msg;
$clearHandlers($get(&#8221;mlnk&#8221;));
}
&#60;/script&#62;
&#60;/head&#62;
&#60;body&#62;
&#60;form id=&#8221;form1&#8243; runat=&#8221;server&#8221;&#62;
&#60;asp:ScriptManager ID=&#8221;ScriptManager1&#8243; EnablePartialRendering=&#8221;true&#8221; EnablePageMethods=&#8221;true&#8221;
runat=&#8221;server&#8221;&#62;
&#60;/asp:ScriptManager&#62;
&#60;div&#62;
&#60;div id=&#8221;mlnk&#8221;&#62;
Content Hour&#60;/div&#62;
&#60;/div&#62;
&#60;/form&#62;
&#60;/body&#62;
&#60;/html&#62;
CS CODE
using System;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
[System.Web.Services.WebMethod]
public static string ServerSideMethod()
{
return &#8220;Serdar TÃœRKEL, Request ]]></description>
		<wfw:commentRss>http://www.serdarturkel.com/?feed=rss2&amp;p=111</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Java ProgressBar Example</title>
		<link>http://www.serdarturkel.com/?p=106</link>
		<comments>http://www.serdarturkel.com/?p=106#comments</comments>
		<pubDate>Sat, 02 May 2009 21:58:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[JAVA]]></category>

		<guid isPermaLink="false">http://www.serdarturkel.com/?p=106</guid>
		<description><![CDATA[Source code &#8220;Loader.class&#8221; in &#8220;PreLoaderExample.jar&#8221; file

import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.Toolkit;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import java.io.File;
import java.io.FileOutputStream;
import java.io.InputStream;
import java.net.HttpURLConnection;
import java.net.URL;
import javax.swing.JFrame;
import javax.swing.JProgressBar;
/**
* @author Serdar TÃœRKEL
*/
public class Loader {
Process pr=null;
public Loader(){
try {
URL url=new URL(&#8221;http://www.serdarturkel.com/java/Testclass.class&#8220;);
HttpURLConnection ucon=(HttpURLConnection)url.openConnection();
InputStream fis = ucon.getInputStream();
int length=ucon.getContentLength();
JProgressBar progress=new JProgressBar(0,0,length);
progress.setString(&#8221;% 0&#8243;);
progress.setStringPainted(true);
progress.setForeground(Color.blue);
progress.setBackground(Color.white);
Font font=new Font(&#8221;Tahoma&#8221;, Font.BOLD,12);
progress.setFont(font);
JFrame.setDefaultLookAndFeelDecorated(true);
JFrame jf=new JFrame(&#8221;http://www.serdarturkel.com/java/Testclass.class&#8220;);
jf.setSize(500,50);
jf.setResizable(false);
jf.setLayout(new BorderLayout());
jf.add(progress, BorderLayout.CENTER);
jf.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
jf.addWindowListener(new WindowAdapter() {
@Override
public void windowClosing(WindowEvent we){
if(pr!=null){
pr.destroy();
}
System.gc();
System.exit(0);
}
});
Dimension dim = Toolkit.getDefaultToolkit().getScreenSize();
int x=(int)((dim.getWidth()-jf.getWidth())/2);
int ]]></description>
		<wfw:commentRss>http://www.serdarturkel.com/?feed=rss2&amp;p=106</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>C# SMTP Client Gmail &#8211; Mail Send</title>
		<link>http://www.serdarturkel.com/?p=102</link>
		<comments>http://www.serdarturkel.com/?p=102#comments</comments>
		<pubDate>Sat, 28 Mar 2009 15:50:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Visual C#]]></category>

		<guid isPermaLink="false">http://www.serdarturkel.com/?p=102</guid>
		<description><![CDATA[try{
SmtpClient client = new SmtpClient(&#8220;smtp.gmail.com&#8221;);
client.Port = 587;
client.Credentials = new System.Net.NetworkCredential(&#8220;xxxx@gmail.com&#8221;, &#8220;xxxx&#8221;);
client.EnableSsl = true;
client.UseDefaultCredentials = true;
MailAddress from = new MailAddress(&#8220;xxxx@gmail.com&#8221;, &#8220;Message&#8221;, System.Text.Encoding.UTF8);
MailAddress to = new MailAddress(to_);
MailMessage message = new MailMessage(from, to);
message.Body = messagebody;
message.BodyEncoding = System.Text.Encoding.UTF8;
message.Subject = subject;
message.SubjectEncoding = System.Text.Encoding.UTF8;
client.Send(message);
message.Dispose();
}
catch (Exception ex)
{
Console.Write(ex.ToString());
}
]]></description>
		<wfw:commentRss>http://www.serdarturkel.com/?feed=rss2&amp;p=102</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Java Create Screen Capture &#8211; Robot class &#8211; Mouse Location</title>
		<link>http://www.serdarturkel.com/?p=96</link>
		<comments>http://www.serdarturkel.com/?p=96#comments</comments>
		<pubDate>Wed, 14 Jan 2009 21:59:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[JAVA]]></category>

		<guid isPermaLink="false">http://www.serdarturkel.com/?p=96</guid>
		<description><![CDATA[import java.awt.*;
import java.awt.event.*;
import java.awt.image.BufferedImage;
import javax.imageio.ImageIO;
public class robot extendsÂ  Frame{
Â public robot() throws Exception{
Â Â this.setTitle(&#8221;robot sÄ±nÄ±fÄ±&#8221;);
Â Â this.setSize(100,100);
Â Â this.addMouseListener(new MouseAdapter(){
Â Â Â public void mouseClicked(MouseEvent me){
Â Â Â Â try{
Â Â Â Â Â Robot r=new Robot();
Â Â Â Â Â Dimension dim=Toolkit.getDefaultToolkit().getScreenSize();
Â Â Â Â Â int x=50;
Â Â Â Â Â int y=dim.height-50;
Â Â Â Â Â r.mouseMove(x,y);
Â Â Â Â Â Rectangle dikdortgen=new Rectangle(50,50,200,200);
Â Â Â Â Â BufferedImage bi=r.createScreenCapture(dikdortgen);
Â Â Â Â Â ImageIO.write(bi,&#8221;PNG&#8221;,new java.io.File(&#8221;yeni.png&#8221;));
Â Â Â Â }
Â Â Â Â catch(Exception ex){
Â Â Â Â Â ex.printStackTrace();
Â Â Â Â }
Â Â Â }
Â Â });
Â Â
Â }
Â public static void main (String[] args) {
Â Â try{
Â Â Â new robot().setVisible(true);
Â Â }
Â Â catch(Exception ex){
Â Â Â ex.printStackTrace();
Â Â }
Â Â Â  }
}
]]></description>
		<wfw:commentRss>http://www.serdarturkel.com/?feed=rss2&amp;p=96</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>AddRotator Example</title>
		<link>http://www.serdarturkel.com/?p=90</link>
		<comments>http://www.serdarturkel.com/?p=90#comments</comments>
		<pubDate>Fri, 02 Jan 2009 20:47:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ASP]]></category>
		<category><![CDATA[Visual C#]]></category>
		<category><![CDATA[XM Language (XML)]]></category>

		<guid isPermaLink="false">http://www.serdarturkel.com/?p=90</guid>
		<description><![CDATA[XML File
&#60;?xml version=&#8220;1.0&#8220; encoding=&#8220;utf-8&#8220;?&#62;
&#60;Advertisements&#62;
Â  &#60;Ad&#62;
Â Â Â Â  &#60;ImageUrl&#62;a.jpg&#60;/ImageUrl&#62;
Â Â Â Â  &#60;NavigateUrl&#62;http://www.serdarturkel.com&#60;/NavigateUrl&#62;
Â Â Â Â  &#60;AlternateText&#62;Visit my site&#60;/AlternateText&#62;
Â Â Â Â  &#60;Impressions&#62;10&#60;/Impressions&#62;
Â  &#60;/Ad&#62;
Â  &#60;Ad&#62;
Â Â Â Â  &#60;ImageUrl&#62;b.jpg&#60;/ImageUrl&#62;
Â Â Â Â  &#60;NavigateUrl&#62;http://www.serdarturkel.com&#60;/NavigateUrl&#62;
Â Â Â Â  &#60;AlternateText&#62;Visit my site&#60;/AlternateText&#62;
Â Â Â Â  &#60;Impressions&#62;10&#60;/Impressions&#62;
Â  &#60;/Ad&#62;
Â  &#60;Ad&#62;
Â Â Â Â  &#60;ImageUrl&#62;c.jpg&#60;/ImageUrl&#62;
Â Â Â Â  &#60;NavigateUrl&#62;http://www.serdarturkel.com&#60;/NavigateUrl&#62;
Â Â Â Â  &#60;AlternateText&#62;Visit my site&#60;/AlternateText&#62;
Â Â Â Â  &#60;Impressions&#62;10&#60;/Impressions&#62;
Â  &#60;/Ad&#62;
&#60;/Advertisements&#62;
ASP.NET File
&#60;%@ Page Language=&#8221;C#&#8221; AutoEventWireup=&#8221;true&#8221; CodeFile=&#8221;Default.aspx.cs&#8221; Inherits=&#8221;_Default&#8221;%&#62;
Â 
Â 
&#60;! DOCTYPE html PUBLIC &#8220;-//W3C//DTD XHTML 1.0 Transitional//EN&#8221; &#8220;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&#8221;&#62;
&#60;html xmlns=&#8221;http://www.w3.org/1999/xhtml&#8221;&#62;
&#60;head runat=&#8221;server&#8221;&#62;
&#60;title&#62;adver&#60;/title&#62;
&#60;/head&#62;
&#60;body&#62;
&#60;form id=&#8221;form1&#8243; runat=&#8221;server&#8221;&#62;
&#60;asp:AdRotator ID=&#8221;AdRotator1&#8243; runat=&#8221;server&#8221; DataSourceID=&#8221;XmlDataSource1&#8243; /&#62;
&#60;asp:XmlDataSource ID=&#8221;XmlDataSource1&#8243; runat=&#8221;server&#8221; DataFile=&#8221;~/XMLFile.xml&#8221;&#62;
&#60;/asp:XmlDataSource&#62;
&#60;/form&#62;
&#60;/body&#62;
&#60;/html&#62;
]]></description>
		<wfw:commentRss>http://www.serdarturkel.com/?feed=rss2&amp;p=90</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My Exe File (Binary Code)</title>
		<link>http://www.serdarturkel.com/?p=88</link>
		<comments>http://www.serdarturkel.com/?p=88#comments</comments>
		<pubDate>Sat, 27 Dec 2008 15:03:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Visual C#]]></category>

		<guid isPermaLink="false">http://www.serdarturkel.com/?p=88</guid>
		<description><![CDATA[using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace mcomp
{
Â Â Â  class Program
Â Â Â  {
Â Â Â Â Â Â Â  static void Main(string[] args)
Â Â Â Â Â Â Â  {
Â Â Â Â Â Â Â Â Â Â Â  try
Â Â Â Â Â Â Â Â Â Â Â  {
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  byte[] byts = {180,2,
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  178,83,205,33,
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  178,69,205,33,
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  178,82,205,33,
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  178,68,205,33,
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  178,65,205,33,
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  178,82,205,33,
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  205,32
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  };
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  File.WriteAllBytes(@&#8221;c:\c\serdar.exe&#8221;, byts);
Â Â Â Â Â Â Â Â Â Â Â  }
Â Â Â Â Â Â Â Â Â Â Â  catch (Exception ex)
Â Â Â Â Â Â Â Â Â Â Â  {
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  Console.Write(ex.ToString());
Â Â Â Â Â Â Â Â Â Â Â  }
Â Â Â Â Â Â Â  }
Â Â Â  }
}
]]></description>
		<wfw:commentRss>http://www.serdarturkel.com/?feed=rss2&amp;p=88</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>My first and last short movie experience</title>
		<link>http://www.serdarturkel.com/?p=86</link>
		<comments>http://www.serdarturkel.com/?p=86#comments</comments>
		<pubDate>Sat, 20 Dec 2008 23:38:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[actual]]></category>

		<guid isPermaLink="false">http://www.serdarturkel.com/?p=86</guid>
		<description><![CDATA[The movie, KÄ±rÄ±ntÄ±/Piece; directed by a friend, Arin Ä°nan Aslan
I worked as an assistant for this movie
I have created the official web site for the movie and its director, http://www.arininan.com/filmiizle2.html
]]></description>
		<wfw:commentRss>http://www.serdarturkel.com/?feed=rss2&amp;p=86</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQL Server Scripting File Full Lesson</title>
		<link>http://www.serdarturkel.com/?p=82</link>
		<comments>http://www.serdarturkel.com/?p=82#comments</comments>
		<pubDate>Sat, 20 Dec 2008 23:01:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Article]]></category>
		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://www.serdarturkel.com/?p=82</guid>
		<description><![CDATA[Download SQL Lesson File link
]]></description>
		<wfw:commentRss>http://www.serdarturkel.com/?feed=rss2&amp;p=82</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JAVA Lessons</title>
		<link>http://www.serdarturkel.com/?p=75</link>
		<comments>http://www.serdarturkel.com/?p=75#comments</comments>
		<pubDate>Sat, 20 Dec 2008 22:49:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Article]]></category>
		<category><![CDATA[JAVA]]></category>

		<guid isPermaLink="false">http://www.serdarturkel.com/?p=75</guid>
		<description><![CDATA[PowerPoint Presentation Lessons List
chapter1 - chapter2 - chapter3 - chapter4 - chapter5 - chapter6 - chapter7 - chapter8 - chapter9
]]></description>
		<wfw:commentRss>http://www.serdarturkel.com/?feed=rss2&amp;p=75</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
