/** * <summary> * Downloads the specified built-in file and returns a binary buffer with its content. * <para> * </para> * </summary> * <param name="pathname"> * name of the new file to load * </param> * <returns> * a binary buffer with the file content * </returns> * <para> * On failure, throws an exception or returns <c>YAPI.INVALID_STRING</c>. * </para> */ public virtual byte[] download(string pathname) { if (_func == null) { throw new YoctoApiProxyException("No Module connected"); } return(_func.download(pathname)); }