public TrySaveStream ( string path, Stream inputStream ) : bool | ||
path | string | |
inputStream | Stream | |
Résultat | bool |
public bool TrySaveStream(string path, Stream inputStream)
{
try
{
SaveStream(path, inputStream);
}
catch
{
return false;
}
return true;
}