February 20, 2014

Pratyusha Banerjee to host Savdhaan India!

Pratyusha Banerjee, who shot to fame with her Anandi role in 'Balika Vadhu' was last seen in the recently concluded Bigg Boss 7. The actress is all set to host a crime based show..

According to our sources, “Banerjee will now host Life Ok’s ‘Savdhaan India’, along with Hiten Tejwani and Sushant Singh.  She will start shooting soon and will represent women issues on the show.”

Despite repeated attempts to contact her, Pratyusha remained unavailable for comment.

-K Himaanshu Shukla



Copyright © 2014 - ScrutinyByKHimaanshu

February 13, 2014

TAM RATINGS: TVM(TRP) & GVT(GRP) Ratings 2014- Week 6


Gross GVTs Channel Wise
  • Star Plus 728231 (626570)
  • Zee TV 495313 (467656)
  • Colors 424431 (446579)
  • Life OK 343882 (386659)
  • SAB 291599 (318766)
  • Sony 251650 (298060)
  • Sahara One 35896 (39172)
Gross TVM's (Channel Wise)

STAR PLUS: It’s a historic week for Star Plus. The channel records the highest Weekly TVMs recorded in TV history by any channel with 728 TVMs.The Mon to Sat move to fiction lands exceptionally well with most shows growing their ratings.
  • Iss Pyaar Ko Kya Naam Doon 2.6 (3.0 )
  • Ek Ghar banauga 3.6 (4.3)
  • Saath Nibhana Saatiya 9.8 (10.2)
  • Saraswatichandra 6.7 (5.9)
  • Meri Bhabhi :    4.8(4.9)
  • Mahabharat:     7.9 (7.1)
  • Diya Aur Baati Hum 12.4 ( 12.0)
  • Yeh Rishta Kya Kehla Hai 8.2(7.9)
  • Pyaar Ka Dard 7.0 (6.4)
  • Veera :6.1  (5.7)
  • Yeh Hai Mohabbatein 4.5(4.1)
   
COLORS drops to  424 Gross TVMs (447) on the back of drop in weekend prime time.
  • Comedy Nights with Kapil  7.3 ( 8.9)
  • India's Got Talent 5 : 5.9 ( 7.2 TVM )
  • Beintehaa 3.5 (3.3)
  • Rang Rasiya 3.0 (3.0 )
  • Balika Vadhu 5.8 (6.5),
  • Sasural Simar Ka  5.2(5.7) ,
  • Madhubala  4.6 (4.3),
  • Bani 3.8 (3.6),
  • Sanskar 1.7 (1.9 )

Zee TV grows further to 495 Gross TVMs ( 468 ) on the back of weekday prime time.

  • Jodha Akbar : 13.3 (11.1)
  • Aur Pyaar Ho Gaya 5.1 ( 4.2  )
  • EK Muthhi Aasman 3.4 (3.1 )
  • Sapne Suhane Ladakpan Ke 6.6 ( 6.8 )
  • Do Dil Bandhe Ek Dori Se  6.1 ( 5.6 )
  • Pavitra Ristha 5.8 (5.4)
  • Qubool Hai  6.4 (6.9)
  • Doli Armanon Ki 3.9 (3.6)
  • DID-4 (Dance India Dance)  3.7 (3.8)
  • Ba Se Badhe  1.5 ( 1.6)
     Life OK drops to 344 (387) after last weeks 1 hour specials.
    • Gustak Dil  2.4 (2.6),
    • Tumhari Pakhi 2.7 ( 2.9 ),
    • Hatim   4.2 (4.1 TVM) ,
    • Shapath  4.5 ( 4.6 )
    • Devon Ke Dev Mahadev 3.1(3.5),
    • Ek Boond Ishq 2.7 (2.8),
    • Savdhan India  3.6 ( 3.0)


    SAB TV drops to sub 300 levels, led by drop in their flagship show :  292 ( 319 ).
    • Taarak Mehta Ka Ooltah Chashmah 7.6 (8.9),
    • Chidiya Ghar 3.9(4.7),
    • Jeanie Aur Juju 2.2 (2.5),
    • Baal Veer 2.6 (3.1),
    • FIR 2.0 (2.3),
    • Laapataganj 2.3 ( 2.5)

    SONY drops to 252 (298) after last weeks Filmfare Awards.
    • Main Na Bhulungi 1.2 (1.4)
    • Ek Nayi Pehchaan 1.9 (2.3)
    • Boogie Woogie 1.7 ( 2.8)
    • Desh Ki Beti Nandini 1.3 ( 1.6)
    • Crime Patrol  3.1 (3.1)
    • CID 3.8 (4.1)
    • Maharana Patap  3.4 ( 3.9 )
    • Jee Le Jara  1.7 ( 1.9 )
    NOTE:
    • All ratings are mentioned in TVMs (Television Viewership in Millions )
    • TRP= TVM/2
    -K Himaanshu Shukla...



    Copyright © 2014 - ScrutinyByKHimaanshu

    Telly actors on what Valentine's Day means to them

    Sanaya Irani (Paro of Rangrasiya)
    I believe Valentine’s Day is all about spreading love and happiness in the lives of your loved ones. This Valentine’s I will try and get off early from the shoot give my loved ones the much deserved time which I have been unable to give.

    Shashank Vyas (Jagya of Balika Vadhu)
    I personally feel true love doesn't mean showing your love to someone only on one day but continuing to love that someone forever.  I am a strong believer of love and therefore I wish all the couples in love a very Happy Valentine’s Day.

    Harshad Arora (Zain of Beintehaa)
    Firstly I would like to wish everyone a very Happy Valentine’s Day and this year do not forget to love and pamper yourself. Go out and indulge yourself in things you love because if you love yourself then only you can love someone else wholeheartedly.

    Preetika Rao (Aliya of Beintehaa)
    On this Valentine's Day I would like to tell everyone to take some time out of your hectic schedule and spend it with your loved ones and make them feel special. Hope all of you have a great Valentine’s Day. Love one, Love all

    Ashish Sharma (Rudra of Rangrasiya)
    I have a very loving and caring wife and therefore every-day is special for me. I feel absolutely blessed and would like to take this opportunity to thank my wife for always being there for me-no matter what.

    Shefali Sharma (Bani from Bani Ishq Da Kalma)
    Valentine's Day is one of my favourite days of the year. Valentine’s is just another day where we get the chance to make people feel a little more special with gifts and surprises. Also I would like to take this opportunity to thank each and every person who has been the reason of my smile and happiness. Wish you all a very Happy Valentine’s Day.

    Gaurav Chaudhary (Parmeet of Bani Ishq Da Kalma)
    Valentine’s Day for me is a day of love and friendship. You can celebrate this day with anyone and everyone, be it friends, family or a special person. I plan on celebrating my Valentine’s Day with all my friends and closed ones who bring me alive with their exhilarating presence.

    Neha Bagga (Rajji of Bani Ishq Da Kalma)
    Love is a very beautiful feeling and Valentine’s Day is a day to celebrate that feeling. On this day of love I would like to wish all my fans and all those in love a very Happy Valentine’s Day.

    Adhvik Mahajan (Soham of Bani Ishq Da Kalma)
    This Valentine I will be busy shooting but however I will make sure to surprise that special girl in my life and make her feel loved in my own way. I would also like to wish all the viewers a very Happy Valentine’s Day.



    Copyright © 2014 - ScrutinyByKHimaanshu

    After rejecting over 100 boys, I have finally found my Prince Charming : Bua (Upasana Singh)


    After all the men that Bua has declined, or rather has been declined by, she has finally found her soul mate.  She’s sundar, she’s susheel and all she ever wanted to do was to find a Phupha for Kapil. Bua has been Miss 22 (Tonty Two) forever now, but it’s her chance to become from 1 to 2.

    Her knight in shining armour, her Prince Charming is none other than ace comedian Razzak Khan. Portraying the role of a 'Golden Bhai', he will be seen falling head over heels in love with Bua. Wanting to make her his own, he bribes Kapil so that he approves of the marriage. Well, looks like Bua will never have to say ‘Kaun hai Yeh Aadmi’ ever again after this weekend.

    When contacted Upasana Singh who plays the role of Bua in COLORS Comedy Nights with Kapil - "Finally after rejecting over hundred boys in the show my character is getting married. I have finally found my dream man, my prince charming in Golden who will be played by Razzak Khan. He is an amazing actor and a great comedian. It's been an amazing journey on Comedy Nights with Kapil and  everybody has really loved my character and my patent line. I hope people continue to shower their love on me even after my marriage."

    "It's great to be a part of the show, especially as Pinky's husband,  Golden. She is hot, she is sexy and I'm absolutely in awe of her. I feel privileged that she chose me over the rest including actors like Salman, SRK,  Akshay Kumar among others. It's an honour to be working in this show with the talented King of Comedy, Kapil Sharma," says Razzak Khan who will be seen portraying the role of Golden Bhai and Bua's dulha.











    Copyright © 2014 - ScrutinyByKHimaanshu

    This Valentine’s Day Alok Nath turns into a 'Sanskari Rapper'

    Veteran Actor Alok Nath, who recently become the talk of the town thanks to the twitter will soon turn into a ‘Sanskari Rapper’ this Valentine’s Day.

    When contacted Nath confirmed the news, “I shot a video in which I am dancing with girls in a rapper’s getup. We shot it in a comic manner. I hope viewers will like my avatar.”

    Honesty & devotion have vanished, now people work only for money : Alok Nath

     A couple of days ago this immensely talented and natural gifted actor met the guy who started off ‘Babu ji’ jokes.  Nath removed his shoes the moment he saw that guy and said thanks to him. “I told that guy that he has done what I couldn’t do in my 50 years long career,” said elated Alok Nath, who is currently holidaying in Srilanka with his family.

    -K Himaanshu Shukla...

    After 'Sanskari Babuji' now Danny Denzongpa is trending on twitter 





    Copyright © 2014 - ScrutinyByKHimaanshu

    February 10, 2014

    VJ Andy replaces Mantra to host 'India's Got Talent'


    Bigg Boss 7 fame, VJ Andy made a cameo appearance in  Colors’ ‘Bani-Ishq Da Kalma’ will be replacing Mantra as the host of reality show 'India's Got Talent'.

    According to our sources, “Mantra quit IGT because of his prior commitments; he was supposed to be there till the audition round. VJ Andy, who became a household name post his stint in Bigg Boss 7 has been finalised to replace Mantra.”

    VJ Andy to enter Bani-Ishq Da Kalma! 
     Andy will begin shooting for this show from today(10 February, 2013). He will co-host the show with comedian Bharti Singh.

    -K Himaanshu Shukla



    Copyright © 2014 - ScrutinyByKHimaanshu

    February 07, 2014

    Deepika Padukone out..Sonam Kapoor to act with Salman Khan in Sooraj Barjatya’s Bade Bhaiiya

    Last year actress Sonam Kapoor received critical acclaim for her performance in Raanjhaana and Bhaag Milkha Bhaag. This year she is all set to romance Shah Rukh Khan for the first time in forthcoming film Raees.

    Now we heard, Miss Kapoor has been confirmed for Sooraj Barjatya’s film starring ‘Chulbul Pandey’.   The film is currently titled “Bade Bhaiya” is a story is about two brothers. Salman Khan plays both, that means after 'Judwa' he will be again seen playing double role.

    Barjatya was looking for an actress with a traditional Indian face. He almost finalized Deepika Padokone. But later shortlisted Sonam, because according to him, Kapoor had more desi persona and typical Indian features than Padukone. 

    Kareena Kapoor Khan, Katrina Kaif, Ilena D'Cruz, Anushka Sharma, Parineeti Chopra and Nargis Fakhri were also approached to play the lead role opposite Salman.

    Barjatya and Salman did ‘Maine Pyar Kiya', 'Hum Aapke Hain Koun' and 'Hum Saath Saath Hain’ together, are reuniting after 14 years.

    -K Himaanshu Shukla...



    Copyright © 2014 - ScrutinyByKHimaanshu

    February 06, 2014

    TAM RATINGS: TVM(TRP) & GVT(GRP) Ratings 2014- Week 5


    Gross GVTs Channel Wise
    • Star Plus 626570 (606361)
    • Zee TV 467656 (441168)
    • Colors 446579 (449428)
    • Life OK 386659 (375025)
    • SAB 318766 (323148)
    • Sony 298060 (253722)
    • Sahara One 39172(36351)
    Gross TVM's (Channel Wise)

    STAR PLUS :-
    • Iss Pyaar Ko Kya Naam Doon 3.0 (2.9 )
    • Ek Ghar banauga 4.3 (4.2)
    • Saath Nibhana Saatiya 10.2 (9.7)
    • Saraswatichandra :5.9 (5.9)
    • Meri Bhabhi :4.9(4.9)
    • Mahabharat:7.1 (7.0)
    • Diya Aur Baati Hum 12.0 ( 13.3)
    • Yeh Rishta Kya Kehla Hai 7.9 (8.2)
    • Pyaar Ka Dard 6.4 (6.4)
    • Veera : 5.7
    • Yeh Hai Mohabbatein 4.1(3.8)
    • Arjun:1.9 (1.7)
    • Nach Baliye:4.9 (3.7 )
    • Star Verdict:1.8(1.3)
    • Koffee With Karan-4: 0.6 (0.7)
       
    COLORS :-
      • India’s Got Talent 5:  7.2 (  7.4  TVM ).  
      • Comedy Nights with Kapil: 8.9 (10.1 ).  
      • Beintehaa 3.3 (2.9) ,
      • Rang Rasiya 3.0 (2.8 )
      • Balika Vadhu 6.5 (7.2),
      • Sasural Simar Ka  5.7  (6.2) ,
      • Madhubala  4.3 (4.0),  
      • Bani 3.6 (3.4), 
      • Sanskar 1.9 (1.8 )
      Zee TV:-
      • Jodha Akbar  11.1 (10.1),
      • Aur Pyaar Ho Gaya 4.2 ( 3.9 TVM ),
      • EK Muthhi Aasman 3.1 (3.6 ) ,
      • Sapne Suhane 6.8 ( 5.9 ),
      • Do Dil Bandhe Ek Dori se  5.6 ( 5.1 ), 
      • Pavitra Ristha 5.4 (5.2),
      • Qubool Hai  6.9 (6.2),
      • Doli Armanon Ki 3.6 (3.0),
      • DID (Dance India Dance)   3.8 (5.5), 
      • Ba Se Badhe  1.6 ( 1.7).

         Life OK:-
        • Gustak Dil  2.6 (2.8),
        • Tumhari Pakhi 2.9 ( 2.4 ),
        • Hatim drops  to 4.1 (4.9 TVM) ,
        • Shapath  4.6 ( 5.0 )
        • Mahadev 3.5 (3.3),
        • Ek Boond Ishq 2.8 (2.7),
        • Savdhan India  3.0 ( 2.9)


        SAB TV :-
        • Taarak Mehta Ka Ooltah Chashmah 8.9 (9.0),
        • Sab Khelo Sab Jeeto 1.8 ( 2.2),
        • Chidiya Ghar 4.7 (4.2),
        • Jeanie Aur Juju 2.5 (2.3),
        • Baal Veer 3.1 (3.3),
        • FIR 2.3 (2.1),
        • Laapataganj 2.5 ( 2.2)
         
        SONY:-
        • Filmfare rates 6.0 TVM over 3 ½ hours, contributes  44 Gross TVMs. 
        • Main Na Bhulungi 1.4 (1.1) .
        • Ek Nayi Pehchaan 2.3 (2.3). 
        • Boogie Woogie grows to  2.8 ( 2.1),
        • Desh Ki Beti Nandini 1.6 ( 1.4),
        • Crime Patrol  3.1 (3.6),
        • CID 4.1 (4.4),
        • Maharana Patap  3.9 ( 3.1 )
        • Jee Le Jara  1.9 ( 1.6 ). 
        NOTE:
        • All ratings are mentioned in TVMs (Television Viewership in Millions )
        • TRP= TVM/2
        -K Himaanshu Shukla...



        Copyright © 2014 - ScrutinyByKHimaanshu

        Balika Vadhu completes 1500 episodes..Siddharth, Toral and Shashank shared their feelings!

        Produced by Sphere origins, "Balika Vadhu - Kachhi Umar Ke Pakke Rishtey", is certainly one of the post popular show on Colors'. The show is entertaining the viewers from last 6 years, today completed 1500 episodes.

        When contacted Toral Rasputra, who plays the role of Anandi said, “It’s really a proud moment for me to be part of a show which has not only changed my life, but is also striving at bringing about a change in the society. I would really like to congratulate the entire team of Balika Vadhu on completing 1500 episodes and here’s wishing that it completes 1500 or more episodes.”

        “It feels great to be a part of show which has always been a favorite amongst the viewers from the first day and personally for me its double celebration since I have completed 500 episodes with Balika Vadhu. I really hope that the show completes many more episodes and continues to garner love and support like it has always has,” said elated Siddarth Shukla who is all set to make his Bollywood debut with Karan Johar 'Humpty Sharma ki Dulhaniya' which stars Varun Dhawan and Alia Bhatt in the lead.

        Shashank Vyas, who plays the role of Jagdish said, “I am really happy that Balika Vadhu has completed 1500 episodes. It’s been a great journey so far and I really enjoyed working with the entire team of Balika Vadhu. I would like thank and congratulate the entire team of Balika Vadhu on achieving this milestone.”



        Copyright © 2014 - ScrutinyByKHimaanshu

        February 05, 2014

        Sushant Singh Rajput's still's from on the sets of Detective Byomkesh Bakshi

        Sushant Singh Rajput, who shot to fame with serial 'Pavitra Rishta', made his foray into Bollywood with 'Kai Po Che'. The actor who was last seen in 'Shuddh Desi Romance'is now playing super sleuth Byomkesh in Dibakar Banerjee’s 'Detective Byomkesh Bakshi'.







        February 02, 2014

        Anupam Kher out, Vinod Khanna to play Jaya Bachchan's husband in Vasundhara?

        We reported earlier that Veteran actor Anupam Kher is approached to play Jaya Bachchan's husband in tentatively titled show Vasundhara on Sony TV. Now we heard, actor Vinod Khanna, who earlier acted in Smriti Irani's show 'Mere Apne' is approached to play the role.

        Earlier, Farooque Sheikh was finalized to play the role of Jaya's husband, but due to his untimely demise Anupam was approached. The channel tried their best to cast Kher, but unfortunately the deal did not work because of monetary issues.

        Later they approached Vinod, as Jaya is very keen to cast once-upon-a-time-on-screen-arch-rival of Amitabh Bachchan. Vinod has already given the green signal and might sign the dotted line soon.

        Varun Badola is finalized to play the eldest son and Urvashi Dholakia will be playing his wife. Vishal Singh will essay the role of middle son and Bandini fame Aasiya kazi is roped to play his wife.

        Nandish Sandhu was almost finalized to play the role of boyfriend of Jaya Bachchan’s daughter. But now the actor has been shown the door and replaced by another TV actor.

        For those uninitiated, the show will be produced under Jaya Bachchan's banner is based on the Gujarati novel Yog Viyog (written by Kajal Oza Vaidya).

        -K Himaanshu Shukla...


         Related News:
        Click Here to read more about Jaya Bachchan's debut show Vasudhara



        Copyright © 2014 - ScrutinyByKHimaanshu

        January 31, 2014

        VJ Andy to enter Bani-Ishq Da Kalma!

        After successfully winning the hearts of millions of viewers with his amazing comic skills in Bigg Boss season 7, VJ Andy is all set to add another feather in his cap. He will soon enter in  Bani -Ishq Da Kalma.

        He will play a fashion designer, who will give Bani a makeover. Though he will shoot only for a day, his stint will last for more than 3-4 episodes.

        -K Himaanshu Shukla...



        Copyright © 2014 - ScrutinyByKHimaanshu

        January 30, 2014

        TAM RATINGS: TVM(TRP) & GVT(GRP) Ratings 2014- Week 4


        As per the TVT data sourced from TAM subscribers in the HSM market for Week 4 (January 21-27) of 2014, the major GECs continued to witness further fall in viewership. On the other hand, Life OK saw growth in viewership for the second straight week. Sab TV also saw gains.

        Star Plus continued to see a fall in viewership for the third consecutive week in 2014 to 606 million TVTs from 626 million TVTs in Week 3.

        Colors climbed back to No. 2. However, the channel has also seen degrowth in Week 4 with gross TVT of 449 million, as compared to 467 million TVTs in the previous week.

        Zee TV, on the other hand, slid to the third position, garnering 441 million TVTs, down from 471 million TVTs in Week 3.

        Life OK continued to see growth this week as well, garnering gross TVTs of 375 million, up from last week’s 347 million TVTs.

        Sab TV also saw slight growth in viewership at 323 million TVTs from 318 million TVTs in Week 3.

        Sony Entertainment TV remained at the sixth position, continuing to lose viewership this week as well. The channel registered gross TVTs of 254 million, down from 258 million in Week 3.

        GVTs Channel Wise :-
        • Star Plus 606361 (625772)
          Colors 449428 (466690)
          Zee TV 441168 (470680)
          Life OK 375025 (347326)
          SAB 323148 (318311)
          Sony 253722 (257635)
          Sahara One 36351 (35959) 

        STAR PLUS :- 
        • Iss Pyaar Ko Kya Naam Doon 2.9 (3.0 )
        • Ek Ghar banauga : 4.2 (4.3)
        • Saath Nibhana Saatiya 9.7 (10.4)
        • Saraswatichandra 5.9 (5.8)
        • Meri Bhabhi 4.9(5.4)
        • Mahabharat 7.0 (7.7)
        • Diya Aur Baati Hum  13.3 ( 13.5)
        • Yeh Rishta Kya Kehla Hai 8.2 (8.8)
        • Pyaar Ka Dard 6.4 (6.5)
        • Veera 5.8  (5.1)
        • Yeh Hai Mohabbatein 3.8(3.8)
        • Arjun:1.7 (2.0)
        • Nach Baliye:3.7 (4.4 )
        • Star Verdict: 1.3(1.4)
        • Koffee With Karan-4  0.7 (0.9)
           
        COLORS :-
          • India’s Got Talent 6.9 (  7.9 TVM ). 
          • Comedy Nights with Kapil 10.1 (11.0 ).
          • Beintehaa 2.9 (2.8) ,
          • Rang Rasiya 2.8 (2.7 )
          • Balika Vadhu 7.2 (6.3),
          • Sasural Simar Ka  6.2  (5.9) ,
          • Madhubala  4.0 (3.5), 
          • Bani 3.4 (3.3), 
          • Sanskar 1.8 (1.8 )
          Zee TV:-
          • Aur Pyaar Ho Gaya ( M-F , 10 pm ) rates 3.9 ( 3.6 TVM ).
            Jodha Akbar  10.1 (9.8),
            EK Muthhi Aasman 3.6 (3.8 ),
            Sapne Suhane Ladakpan Ke 5.9 ( 6.4 ),
            Do Dil Bandhe Ek Dori se  5.1 ( 5.5 ), 
            Pavitra Ristha  5.2 (5.1),
            Qubool Hai  6.2 (5.9),
            Doli Armanon Ki 3.0 (3.1)  ,
            DID   3.5 (5.4), 
            Ba Se Badhe  1.7 ( 1.9).
             Life OK:-
            • Hatim continues to rate high at  4.9 (4.8 TVM).
            • Shapath  moves up to 5.0 ( 4.0 )
            • Mahadev 3.3 (3.3),
            • Tumhari Pakhi 2.4 ( 2.4 ),
            • Ek Boond Ishq 2.7 (2.7),
            • Gustak DIl 2.4 ( 2.8),
            • Do Dil Ek Jaan 1.2 (1.2),
            • Savdhan India  2.9 ( 3.3)

            SAB TV :-
            • Tarak Mehta 9.0 (8.8),
            • Sab Khelo Sab Jeeto 2.2 ( 2.2),
            • Chidiya Ghar 4.2 (4.3),
            • Jeanie Aur Juju 2.3 (2.3),
            • Baal Veer 3.3 (3.3),
            • FIR 2.1 (2.0),
            • Laapataganj 2.2 ( 2.1)
             
            SONY:-
            • Main Na Bhulungi 1.1 (1.1) .
            • Ek Nayi Pehchaan 2.3 (2.1).  
            • Boogie Woogie drops to  2.1 ( 2.7),
            • Desh Ki Beti Nandini 1.4 ( 1.6),
            • Crime Patrol  3.6 (3.4),
            • CID 4.4 (4.5),
            • Maharana Patap  3.1 ( 3.5 )
            • Jee Le Jara  1.6 ( 1.7 ).
             
            NOTE:
            • All ratings are mentioned in TVMs (Television Viewership in Millions )
            • TRP= TVM/2
            -K Himaanshu Shukla...



            Copyright © 2014 - ScrutinyByKHimaanshu

            How to get a machine serial number from Java?

            import java.util.Scanner;
            public class GetMachineSerialNumber
            {
                public static void main(String[] args)
                {
                    try
                    {
                        Process process = Runtime.getRuntime().exec(new String[] { "wmic", "bios", "get", "serialnumber" });
                        process.getOutputStream().close();
                        Scanner sc = new Scanner(process.getInputStream());
                        String property = sc.next();
                        String serialnum = sc.next();
                        System.out.println(property + ": " + serialnum);
                    }
                    catch (Exception e)
                    {
                        e.printStackTrace();
                    }
                }
            }


             OUTPUT: SerialNumber: L908230

            January 29, 2014

            How to fetch Mac ID of Client machine using Java Applet in a web based application?


            1). You need to download "java-plugin-1.6.0.23.jar" 
            2). Create a Java Project "GetClientMacID". Project Structure will look like this:

            3). Create a Java Applet "MacIDFinder"

            import java.applet.Applet;
            import java.net.NetworkInterface;
            import java.net.SocketException;
            import java.util.ArrayList;
            import java.util.Enumeration;
            import netscape.javascript.JSObject;

            public class MacIDFinder extends Applet
            {
                public static String sep = ":";

                public static String getMacFromInterface(NetworkInterface ni) throws SocketException
                {
                    byte mac[] = ni.getHardwareAddress();
                    if (mac != null)
                    {
                        StringBuilder macAddress = new StringBuilder("");
                        String sep = "";
                        for (byte o : mac)
                        {
                            macAddress.append(sep).append(String.format("%02X", o));
                            sep = ":";
                        }
                        return macAddress.toString();
                    }
                    return "";
                }

                public static String[] getInterfaces()
                {
                    try
                    {
                        Enumeration nis = NetworkInterface.getNetworkInterfaces();
                        ArrayList result = new ArrayList();
                        while (nis.hasMoreElements())
                        {
                            NetworkInterface ni = nis.nextElement();
                            if (ni.isUp() && !ni.isLoopback() && !ni.isVirtual()) {
                                String mac = getMacFromInterface(ni);
                                String str = mac;//ni.getDisplayName() + ";" + mac;
                                result.add(str);
                            }
                        }
                        return result.toArray(new String[0]);
                    }
                    catch (Exception e)
                    {
                        e.printStackTrace();
                    }
                    return new String[0];
                }
                public static String getInterfacesJSON() {
                    try
                    {
                        String macs[] = getInterfaces();

                        String sep = "";
                        StringBuilder macArray = new StringBuilder("");
                        for (String mac : macs)
                        {
                            macArray.append(sep).append(mac);
                            sep = "','";
                        }
                        macArray.append("");

                        return macArray.toString();
                    }
                    catch (Exception e)
                    {
                        e.printStackTrace();
                    }
                    return "[]";
                }
                public static void setSep( String sep )
                {
                    try {
                        MacIDFinder.sep = sep;
                    } catch( Exception ex ) {          
                    }
                }
                @Override
                public void start()
                {
                    JSObject window = JSObject.getWindow(this);
                    String macid=getInterfacesJSON();
                    System.out.println( "Mac ID Of Client is: " + macid );
                    window.call("setMacAddress", new Object[] {macid})   ;
                }  
            }


            4).  Now create a "build.xml"  file:

            <project>
                <target name="clean">
                    <delete dir="build"/>
                </target>

                <target name="compile">
                    <mkdir dir="build"/>
                    <javac srcdir="." destdir="build" classpath="./java-plugin-1.6.0.23.jar"/>
                </target>

                <target name="jar">
                    <mkdir dir="build"/>
                    <jar destfile="build/macidfinder.jar" basedir="build">
                        <manifest>
                            <attribute name="Main-Class" value="MacIDFinder"/>
                        </manifest>
                    </jar>
                </target>

                <target name="run">
                    <java jar="build/macidfinder.jar" fork="true"/>
                </target>
            </project>


            5). Drag and drop above Build.xml on Ant View:
            6). Now execute clean, compile and jar, which will generate "macidfinder.jar" in build folder:

            7). To need to sign the jar before embedding the applet in JSP. 

            Why need to sign Java Applet? Java applets are living in a restricted environment so called “sandbox”, when it is running inside web browser. This prevents the applets from accessing system resources and devices such as files, network connections, printers, cameras, microphones, etc, without user-granted permission. This tight security is designed to make users safe from malicious code which always tries to execute automatically without user’s intervention.

            Go to the command prompt and execute below command, which will generate the key which will be used for Jar Signing:

            keytool -genkey -alias macid123 -validity 30

             Where "macid123" is test alias.  -validity 30  means your key has a validity of 30 days. if not specified the certificate that you are generating and signing has a default validity for 180 days. 

            D:\>keytool -genkey -alias macid123 -validity 30
            Enter keystore password:
            mac768
             Re-enter new password:mac768
            What is your first and last name?
              [Unknown]:  K Himaanshu Shukla
            What is the name of your organizational unit?
              [Unknown]:  Scrutiny
            What is the name of your organization?
              [Unknown]:  Scrutiny
            What is the name of your City or Locality?
              [Unknown]:  Mumbai
            What is the name of your State or Province?
              [Unknown]:  Maharastra
            What is the two-letter country code for this unit?
              [Unknown]:  91
            Is CN=K Himaanshu Shukla, OU=Scrutiny, O=Scrutiny, L=Mumbai, ST=Maharastra, C=91
             correct?
              [no]:  y

            Enter key password for <macid123>
                    (RETURN if same as keystore password):
            mac768
            Re-enter new password:mac768

            8).  To sign the jar execute the below command:
            jarsigner macidfinder.jar  macid123

            It will ask you for the password which you have specified in step 7.

            D:\>jarsigner macidfinder.jar  macid123
            Enter Passphrase for keystore: mac768
            jarsigner: unable to open jar file: macidfinder.jar


            9).  Now create a jsp in which you will be embedding the above applet:

            <table>
            <tr>
            <td>
            <applet width="50" height="50" code="MacIDFinder.class" codebase="${pageContext.request.contextPath}"  archive="
            macidfinder.jar, java-plugin-1.6.0.23.jar"></applet>
            <input type="hidden" id="maccid" name="maccid" />
            </td>
            </tr>
            </table>


            10).  Copy macidfinder.jar, java-plugin-1.6.0.23.jar in the same location where your JSP is present.

            11).  Add the below java script code in your JSP.

             <script>
            function
            setMacAddress(macaddress)
            {
            document.forms[0].maccid.value=
            macaddress;
            }
            </script>



            setMacAddress()  will be called from the start() method of MacIDFinder from the below code:

            window.call("setMacAddress", new Object[] {macid})  ;

             setMacAddress()  java script will set the fetched Mac ID in hidden variable.

            -K Himaanshu Shukla

            Siddharth Malhotra and Varun Dhawan learned to romance from Shahrukh & Kajol

            Sidharth Malhotra and Parineeti Chopra Promoted their upcoming film 'Hasee toh Phasee' which is scheduled to release on 7th February, 2014 on 'Comedy Nights with Kapil'

            The duo had a gala time shooting with Kapil and were seen laughing throughout. The film will be the Sidharth's second film after his impressive Bollywood debut in "Student of the Year." He is also said to be looking forward to his third project, an action drama titled "The Villain" under Ekta Kapoor production. 

            While shooting for the Comedy show, Siddharth revealed that he and his Student of the Year co-star Varun Dhawan used to copy Shahrukh Khan-Kajol and learnt their romantic scenes from them.

            He said that during the shoot of My Name is Khan, he and Varun were assisting Karan Johar. And to polish their acting skills, they used to enact romantic scenes that Kajol and SRK were doing in the film. He also revealed that he and Varun were huge fans of both the actors and were in complete awe of them when they used to act.





            Copyright © 2014 - ScrutinyByKHimaanshu