Comments (2)
Here's why: a user may not know the right value or even that they need to add it. We know the right values for these as they're windows api. Let's err on the side of secure-by-default.
from cswin32.
Interesting idea to apply them to each individual method. I didn't even realize that was possible before you suggested it.
Why not just add an assembly-level attribute?
from cswin32.
Related Issues (20)
- Latest WDK metadata fails to create DEVPKEY field
- Daily nuget feed not updating HOT 1
- MFTEnumEx signature incorrect
- `VirtualFreeEx` missing HOT 1
- Missing NtCreateThread and NtCreateThreadEx functions HOT 1
- Add an analyzer to catch inadvertent ephemeral delegates HOT 4
- Missing `CryptCATCDFEnumMembersByCDFTagEx` and `CryptCATCDFEnumAttributesWithCDFTag` HOT 1
- `ReadFileEx` incorrectly takes a `Span<byte>`
- WINMM `PlaySound` does not allow passing byte arrays. HOT 1
- CsWIn32 generates DllImports with legacy com marshalling even when BuiltInComInteropSupport is set to false (and it's not supported) HOT 1
- Properly terminate `<see href="">` tags in generated XML documentation. HOT 1
- VariableLengthInlineArray - VS2019 - CS8170 and CS8347
- AddVectoredExceptionHandler handler callback causes ExecutionEngineException
- Class modifiers would conflict when different two packages have different modifier HOT 1
- Add option to generate ExcludeFromCodeCoverage on source generated objects
- SystemParametersInfo cannot read the path of the desktop background image
- Incorrect triple pointer for `MFEnumDeviceSources`
- Regression - Null static property not generated for `HDC` in v0.3.106 (Stable) HOT 1
- Provide example code in repo / docs
- CollectMetadataPaths should report an error when there is no metadata instead of returning an empty array
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cswin32.