Specializations

Wednesday, August 27, 2014

4-wheeler Ownership Transfer in Bangalore, Karnatka

4-wheeler Ownership Transfer in Bangalore, Karnatka

Hello everybody,
Recently, I got opportunity to interact with Regional Transport Office (RTO) for my car’s ownership transfer. My friends suggested to take help of an agent and get it done but I wasn’t in mood to pay kickbacks, hence I chose to do it my self. I faced bit of difficulty but I overpowered it with patience and persistence. The purpose of writing this blog is to ensure that others are benefitted out of my experience and eventually avoid paying any kickbacks  or bribe to the agents.
In my case, my vehicle was registered under Kormangala, RTO and I’ve to get it registered in Indiranagar RTO.  The ownership transfer process is listed below:
At original RTO, Kormangala:
  1. Get Clearance Certificate and Hypothecation (If the vehicle is on Loan) Cancelled from original RTO. In my case it was Koramangala. You need to produce the following documents.
    1. NOC letter issued from the owner.
    2. Form No. 35 in duplicate(hypothecation cancellation)
    3. Original RC Book.
    4. Self Addressed Clothed Envelope with 12 rs. ticket affixed on it for Local Speed Post.http://www.indiapost.gov.in/netscape/speedpost.html
  2. Next take all the documents to a verifier clerk in office and get it verified. Once verified you have to pay a fee of 100 rs for hypothecation cancellation and attach the chalan with the form. Finally you submit the application.
  3. After 1 week, you will receive the clearance certificate along with your RC book modified.
  4. Next you have to contact the new RTO office where the vehicle has to be registered.
At New RTO, IndiraNagar:
  1. Have following documents ready before you reach to RTO office.
      1. Form no CMV 29 in duplicate.
      2. Form no. CMV 30. If vehicle is covered under Hypothecation/HPA/Lease.
      3. Consent of financier. Original
      4. Registration Certificate(RC) Book. Original.
      5. Valid insurance. Photocopy
      6. Emission Certificate. Photocopy
      7. Address proof ( Ration Card, Voter ID). If you don’t have either of these, get an affidavit for address proof. You’ll find public notary in RTO premise who would endorse your affidavit at a nominal fee.
      8. PAN card . If there is no PAN number form no 61 in case of agriculturists and form no. 60 in case of others.
      9. Clearance Certificate issued by previous registering authority. Original
      10. Two passport size photographs of the transferee.
      11. Self Addressed Clothed Envelope with 12 rs. ticket affixed on it for Local Speed Post.
  2. Next take all the documents to a verifier clerk in office and get it verified. After documents are verified the clerk will redirect you to the next counter where you have to raise the Chalan.
  3. Go to next counter and have chalan raised by entering the details of your RC book in the system.
  4. Got to bill payment counter and pay the amount and obtain the chalan.
  5. Now submit all the documents along with the chalan to verifier clerk once again. Once verifier is done with the verification, he/she will redirect you to form submission counter. You submit all the forms and document and obtain an acknowldegement receipt.  After 1 week, you should receive RC book/Smart card with your name and address in it.
Reference:

Sunday, August 10, 2014

how can we get duration using c#.net

 private int GetDuration(DateTime startDate, DateTime endDate)
        {
            try
            {
                return (int)Math.Round((endDate - startDate).TotalMilliseconds);
            }
            catch (Exception ex)
            {
                ex.ErrorLogger();
                return 0;
            }
        }

How to get CPU Usage and memory Utilization

Use performace Counter for this.


CPU Usage
Prepare PerformanceCounter object.


  Cpuperf.CategoryName = "Processor";
                Cpuperf.CounterName = "% Processor Time";
                Cpuperf.InstanceName = "_Total";
                float first = Cpuperf.NextValue();
 float second= Cpuperf.NextValue();

Note: first value is always 0. So better to take zecond nect value. then it will return the exact value for this.



Memory Utilization:

 PerformanceCounter ramCounterAvailable = new PerformanceCounter("Memory", "Available Bytes");
                PerformanceCounter ramCounterCommitted = new PerformanceCounter("Memory", "Committed Bytes");
                PerformanceCounter ramCounterComitLimit = new PerformanceCounter("Memory", "Commit Limit");
MemoryAvailable = ramCounterAvailable.NextValue();
                MemoryCommitted = ramCounterCommitted.NextValue();
                MemoryComitLimit = ramCounterComitLimit.NextValue();
                var total = MemoryAvailable + MemoryCommitted;
                var MemoryAvailablePercentage = MemoryAvailable / total * 100;
                var MemoryUtilizationPercentage = MemoryCommitted / total * 100;
                second = Cpuperf.NextValue();
                var MemoryUtilizationvalue = (int)Math.Round(MemoryUtilizationPercentage);


Example:
  public void GetCpuAndMemory()
        {
            float second = 0;
            try
            {
PerformanceCounter Cpuperf=new PerformanceCounter();
                PerformanceCounter ramCounterAvailable = new PerformanceCounter("Memory", "Available Bytes");
                PerformanceCounter ramCounterCommitted = new PerformanceCounter("Memory", "Committed Bytes");
                PerformanceCounter ramCounterComitLimit = new PerformanceCounter("Memory", "Commit Limit");

                //Cpuperf = new PerformanceCounter();
                Cpuperf.CategoryName = "Processor";
                Cpuperf.CounterName = "% Processor Time";
                Cpuperf.InstanceName = "_Total";
                float first = Cpuperf.NextValue();
                ramCounterAvailable.NextValue();
                ramCounterCommitted.NextValue();
                ramCounterComitLimit.NextValue();
                var MemoryAvailable = ramCounterAvailable.NextValue();
                var MemoryCommitted = ramCounterCommitted.NextValue();
                var MemoryComitLimit = ramCounterComitLimit.NextValue();
                System.Threading.Thread.Sleep(500);
                MemoryAvailable = ramCounterAvailable.NextValue();
                MemoryCommitted = ramCounterCommitted.NextValue();
                MemoryComitLimit = ramCounterComitLimit.NextValue();
                var total = MemoryAvailable + MemoryCommitted;
                var MemoryAvailablePercentage = MemoryAvailable / total * 100;
                var MemoryUtilizationPercentage = MemoryCommitted / total * 100;
                second = Cpuperf.NextValue();
                var finalCPUusageValue = (int)Math.Round(second);
                var MemoryUtilizationvalue = (int)Math.Round(MemoryUtilizationPercentage);
            }
         
            catch (Exception ex)
            {
             
            }
        }