Skip to content

Cannot create a file when that file already exists. (0x800700B7) #30

Description

@budcribar

This 2 line program will get an error with version 3.4.0-preview

using Microsoft.WindowsAPICodePack.Sensors;
var list = SensorManager.GetAllSensors();

I received the following error:
System.Runtime.InteropServices.COMException: 'Cannot create a file when that file already exists. (0x800700B7)'

System.Runtime.InteropServices.COMException
HResult=0x800700B7
Message=Cannot create a file when that file already exists. (0x800700B7)
Source=
StackTrace:

This exception was originally thrown at this call stack:
[External Code]
Program.

$(string[]) in Program.cs

any ideas?
bud

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions