> > Returned info looks strange: > > CPTPAUL.cptpaul:C:\DATABASE\dev.FDB > > And my connection looks like > > data source=192.168.1.250;initial catalog=gestiny;user > > id=SYSDBA;password=masterkey. > > > > Seems like is some dns reverse and get my computer name...:D!!!! > > Try ipconfig /all, there you will see your computer's name and that's > the > value returned to you. ;) My computer name is CPTPAUL but DbId returns twice my computer name: CPTPAUL.cptpaul:C:\DATABASE\dev.FDB
Try to see: FbConnection fbc = new FbConnection(Properties.Settings.Default.AppConnStr); fbc.Open(); FbDatabaseInfo fbi = new FbDatabaseInfo(fbc); textBox2.Text = fbi.DbId.ToString(); fbc.Close(); Regards, Paul ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Firebird-net-provider mailing list Firebird-net-provider@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/firebird-net-provider