public int GetContentLength() { try { return (int)(Length() & unchecked(0xFFFFFFFFL)); } catch (SmbException) { } return 0; }