A lot of ip-camera's and equipment these days support the
ONVIF protocol, you could try using an ONVIF routine or application, see:
GitHub - ozekiltd/Onvif-IP-Camera-Viewer[
^]
C# Camera SDK: How to implement an Onvif IP Camera Manager in C#[
^]
If that does not work you could try a sniffer like
WireShark (complicated) or
Fiddler.
If you are interested in connection strings, here is an extensive list from the open-source iSpy video application:
Connecting iSpy to IP Cameras[
^]
Also let us know what brand of ip-camera you have, maybe we can offer more help.