Registered devices in IoT Hub

I have IoT Hub and regitered devices. Can someone please let me know the best way to check whether device is connected. I know we can check this using twin’s ConnectionState property but it seems not to be more reliable. Please give some other alternative. 

Hi @neel0129,

This post was moved to a different board that fits your topic of discussion a bit better. This means you’ll get better engagement on your post, and it keeps our community organized so users can more easily find information.

As you’ll notice, your topic is now here in the Project Development Help and Advice board. No action is needed on your part; you can continue the conversation as normal here.