Hi ,
Error: Object Reference not set to an instance of object, after reading the username, plz help asap
MY XML FIle contains: Name : AsteriskConfiguration.xml
<?xml version="1.0" encoding="utf-8"?>
<Configuration>
<HostAddress>192.168.1.##</HostAddress>
<UserName>root</UserName>
<Password>########</Password>
<SrcPath>/var/lib/asterisk/sounds/recordings/</SrcPath>
<DstPath>/var/lib/asterisk/sounds/backuprecordings/</DstPath>
</Configuration>
.cs file code :
public bool CheckConfiguration()
{
XmlDocument doc = new XmlDocument(); ...
Go to the complete details ...