Ejemplo n.º 1
0
        public void CreateFileOk()
        {
            MtpFile mtpFile = new MtpFile();

            mtpFile.Create(@"Xperia XA\SD Card\Music\abc1\abc2\myfile.bin", new byte[3] {
                2, 23, 34
            });
            Assert.True(mtpFile.Exists(@"Xperia XA\SD Card\Music\abc1\abc2\myfile.bin"));
        }
Ejemplo n.º 2
0
        public void CreateFileEmtpy()
        {
            MtpFile mtpFile = new MtpFile();

            mtpFile.Create(@"Xperia XA\SD Card\Music\abc1\abc2\myfile1.bin", null);
        }
Ejemplo n.º 3
0
        public void CreateFileNoPath()
        {
            MtpFile mtpFile = new MtpFile();

            mtpFile.Create("", null);
        }