I have a web system in C # and I am using framework 4.5 that accesses a firebird database that is on a server, I am making the connection to this database normally.
Now I need to access the creation date of this file, I'm using the following method:
static public DateTime PegarDataCriacaoBD (string caminhoBD)
{
DateTime dataCriacao = new DateTime();
FileInfo arquivo = new FileInfo(caminhoBD);
dataCriacao = arquivo.CreationTime;
return dataCriacao ;
}
This method works perfectly, the issue is that I need to access a file that is on a given IP on a given port eg 197.152.365.14
on port 3050
and the database path is C:\Sistema\Sistema.FDB
, not I am getting access to the file that is on this IP.