Posts

Showing posts from September, 2014

Write Text in Notepad files Using Asp.net

                In asp.net Provide many Supporting Classes and Objects files. To write Text or data in Notepad Files Using Your Asp.net and windows Applications. Using StreamWriter Class to write a Text files in Notepad.    Using Class file  using  System.IO  and point to the Text files and open the text files. StreamWriter  streamwriter; streamwriter=  new   StreamWriter ( File .Open(Server.MapPath( "~/sample.txt" ),  FileMode .OpenOrCreate));         streamwriter.WriteLine( " ******************************** " );         streamwriter.WriteLine( "         Heading    " );   streamwriter.WriteLine( "          ***************        " );         streamwriter.WriteLine( "    Sub Heading      " );          streamwriter.WriteLine( "    Date:  "  +  DateTime .Now()   );          streamwriter.Close(); if you want view Notepad files in Web Browser Use Below Code After st

Tips for Protecting Your Email Privacy

Image
                                 Sending an email message is certainly more private than  posting on a social networking site, but email has its own dangers. Here are six tips to help you  communicate   without risking your privacy. The protection of  email  from unauthorized access and inspection is known as  electronic privacy . In countries with a constitutional guarantee of the  secrecy of correspondence , email is equated with  letters  and thus legally protected from all forms of  eavesdropping . 1.Use a Strong Password You  give  out  your  email  address  all  the  time;  it’s  not  really  private  information.  That  being  the  case,  the  only  thing protecting your account  from misuse is the password.  A malefactor who guesses your  too-weak password gains full  control of your email account.  Protect  your  account  with  a  strong password, especially if  you use a Web-based email provider like Gmail or Yahoo mail. 2. Beware Public PCs  If you check your emai