Fake camera implemented to run it without real camera
This commit is contained in:
parent
549fcdaabf
commit
b11e3dca6e
@ -146,7 +146,7 @@ namespace EDSDKLib.API.Base
|
||||
/// <exception cref="ArgumentNullException">The DownloadInfo is null</exception>
|
||||
public void DownloadFile(IDownloadInfo Info, string directory)
|
||||
{
|
||||
File.WriteAllBytes(Path.Combine(directory, Info.FileName), File.ReadAllBytes(this.mockImageFiles[new Random().Next(1, 99)].FullName));
|
||||
File.WriteAllBytes(Path.Combine(directory, Info.FileName), File.ReadAllBytes(this.mockImageFiles[new Random().Next(1, this.mockImageFiles.Count)].FullName));
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user