The error Attribute 'DllImport' is not valid on this declaration type. It is only valid on 'method' declarations. Tried to add the dll import before the class in a method but same error.The error Attribute 'DllImport' is not valid on
The error Attribute 'DllImport' is not valid on this declaration type. It is only valid on 'method' declarations. Tried to add the dll import before the class in a method but same error.The error Attribute 'DllImport' is not valid on